Enabled lazyusf HLE support by default

CQTexperiment
Chris Moeller 2014-10-14 22:33:05 -07:00
parent da4c4cf510
commit fea1b147a6
1 changed files with 8 additions and 12 deletions

View File

@ -174,18 +174,14 @@ static psf_file_callbacks source_callbacks =
@implementation HCDecoder @implementation HCDecoder
+ (void)initialize + (void)initialize
{
if (self == [HCDecoder class])
{ {
bios_set_image(hebios, HEBIOS_SIZE); bios_set_image(hebios, HEBIOS_SIZE);
psx_init(); psx_init();
sega_init(); sega_init();
qsound_init(); qsound_init();
}
// BAH
struct sigaction sa;
sa.sa_handler = SIG_IGN;
sigemptyset(&sa.sa_mask);
sa.sa_flags = 0;
sigaction(SIGPIPE, &sa, NULL);
} }
- (NSDictionary *)metadata - (NSDictionary *)metadata
@ -1014,7 +1010,7 @@ static int usf_info(void * context, const char * name, const char * value)
usf_clear( state.emu_state ); usf_clear( state.emu_state );
//usf_set_hle_audio( state.emu_state, 1 ); usf_set_hle_audio( state.emu_state, 1 );
emulatorCore = ( uint8_t * ) state.emu_state; emulatorCore = ( uint8_t * ) state.emu_state;