PSF/PSF2: Set harsh compatibility mode, so emulator behaves more like actual hardware, which fixes a few PSF and PSF2 rips

CQTexperiment
Christopher Snowhill 2021-03-28 12:49:34 -07:00
parent d681eb293a
commit bdd02c76d3
1 changed files with 5 additions and 0 deletions

View File

@ -1238,6 +1238,11 @@ static int usf_info(void * context, const char * name, const char * value)
}
else return NO;
if ( type == 1 || type == 2 ) {
void * pIOP = psx_get_iop_state( emulatorCore );
iop_set_compat( pIOP, IOP_COMPAT_HARSH );
}
framesRead = 0;
silence_test_buffer.resize( sampleRate * silence_seconds * 2 );