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

@ -175,17 +175,13 @@ static psf_file_callbacks source_callbacks =
+ (void)initialize + (void)initialize
{ {
bios_set_image(hebios, HEBIOS_SIZE); if (self == [HCDecoder class])
psx_init(); {
sega_init(); bios_set_image(hebios, HEBIOS_SIZE);
qsound_init(); psx_init();
sega_init();
// BAH qsound_init();
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;