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