fix throttling interaction with sound and sound/throttle flag
This commit is contained in:
parent
6efc80f1c5
commit
ea451678a3
|
@ -784,8 +784,14 @@ void FCEUD_Update(uint8 *XBuf, int32 *Buffer, int Count)
|
|||
|
||||
//MBG TODO - think about this logic
|
||||
//throttle
|
||||
|
||||
bool throttle = true;
|
||||
if( (eoptions&EO_NOTHROTTLE) )
|
||||
{
|
||||
if(!soundo) throttle = false;
|
||||
}
|
||||
|
||||
if(!(eoptions&EO_NOTHROTTLE) && (!soundo)) //if throttling is enabled..
|
||||
if(throttle) //if throttling is enabled..
|
||||
if(!turbo) //and turbo is disabled..
|
||||
if(!FCEUI_EmulationPaused()
|
||||
||JustFrameAdvanced
|
||||
|
|
Loading…
Reference in New Issue