sdl: added config value SDL.SwapDuty (0 or 1)
This commit is contained in:
parent
4c0b8d9ce8
commit
209f3137de
|
@ -145,6 +145,7 @@ InitConfig()
|
|||
config->addOption("frameskip", "SDL.Frameskip", 0);
|
||||
config->addOption("clipsides", "SDL.ClipSides", 0);
|
||||
config->addOption("nospritelim", "SDL.DisableSpriteLimit", 1);
|
||||
config->addOption("swapduty", "SDL.SwapDuty", 0);
|
||||
|
||||
// color control
|
||||
config->addOption('p', "palette", "SDL.Palette", "");
|
||||
|
|
|
@ -74,7 +74,6 @@ static int noconfig;
|
|||
|
||||
int pal_emulation;
|
||||
int dendy;
|
||||
// TODO: actually implement swapDuty
|
||||
int swapDuty;
|
||||
|
||||
// -Video Modes Tag- : See --special
|
||||
|
@ -249,6 +248,9 @@ int LoadGame(const char *path)
|
|||
int id;
|
||||
g_config->getOption("SDL.PAL", &id);
|
||||
SetRegion(id);
|
||||
|
||||
g_config->getOption("SDL.SwapDuty", &id);
|
||||
swapDuty = id;
|
||||
|
||||
std::string filename;
|
||||
g_config->getOption("SDL.Sound.RecordFile", &filename);
|
||||
|
|
Loading…
Reference in New Issue