Win32 - Timing - "Disable throttling when sound is off" now only applies when sound is off. Fixes SF 2480032.
This commit is contained in:
parent
4620963ec4
commit
1a83cfa5e4
|
@ -1,4 +1,5 @@
|
||||||
---version 2.0.4 yet to be released---
|
---version 2.0.4 yet to be released---
|
||||||
|
01-jan-2009 - adelikat - Win32 - Timing - "disable throttling when sound is off" now only affects FCEUX when sound is off
|
||||||
26-dec-2008 - adelikat - Metadata - remember window position
|
26-dec-2008 - adelikat - Metadata - remember window position
|
||||||
24-dec-2008 - adelikat - auto-save fixes, prevent loading an auto-save from previous session. Win32 - added flags for enabling auto-save menu item.
|
24-dec-2008 - adelikat - auto-save fixes, prevent loading an auto-save from previous session. Win32 - added flags for enabling auto-save menu item.
|
||||||
24-dec-2008 - adelikat - added undo/redo savestate hotkey. Win32 - made undo/redo default key mapping Ctrl+Z
|
24-dec-2008 - adelikat - added undo/redo savestate hotkey. Win32 - made undo/redo default key mapping Ctrl+Z
|
||||||
|
|
|
@ -23,19 +23,18 @@
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "../common/args.h"
|
#include "../common/args.h"
|
||||||
|
|
||||||
char* MovieToLoad = 0;
|
char* MovieToLoad = 0; //Loads a movie file on startup
|
||||||
char* StateToLoad = 0;
|
char* StateToLoad = 0; //Loads a savestate on startup (after a movie is loaded, if any)
|
||||||
char* ConfigToLoad = 0;
|
char* ConfigToLoad = 0; //Loads a specific .cfg file (loads before any other commandline options
|
||||||
extern bool turbo;
|
extern bool turbo;
|
||||||
|
|
||||||
// TODO: Parsing arguments needs to be improved a lot. A LOT.
|
// TODO: Parsing arguments needs to be improved a lot. A LOT.
|
||||||
|
|
||||||
/**
|
//-------------------------------------------------------------
|
||||||
* Parses commandline arguments
|
// Parses commandline arguments
|
||||||
**/
|
//-------------------------------------------------------------
|
||||||
char *ParseArgies(int argc, char *argv[])
|
char *ParseArgies(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
//int x; //mbg merge 7/17/06 removed
|
|
||||||
static ARGPSTRUCT FCEUArgs[]={
|
static ARGPSTRUCT FCEUArgs[]={
|
||||||
{"-pal",0,&pal_emulation,0},
|
{"-pal",0,&pal_emulation,0},
|
||||||
{"-noicon",0,&status_icon,0},
|
{"-noicon",0,&status_icon,0},
|
||||||
|
|
|
@ -776,7 +776,7 @@ void FCEUD_Update(uint8 *XBuf, int32 *Buffer, int Count)
|
||||||
//MBG TODO - think about this logic
|
//MBG TODO - think about this logic
|
||||||
//throttle
|
//throttle
|
||||||
|
|
||||||
if(!(eoptions&EO_NOTHROTTLE)) //if throttling is enabled..
|
if(!(eoptions&EO_NOTHROTTLE) && (!soundo)) //if throttling is enabled..
|
||||||
if(!turbo) //and turbo is disabled..
|
if(!turbo) //and turbo is disabled..
|
||||||
if(!FCEUI_EmulationPaused()
|
if(!FCEUI_EmulationPaused()
|
||||||
||JustFrameAdvanced
|
||JustFrameAdvanced
|
||||||
|
|
Loading…
Reference in New Issue