--newppu option added to sdl
This commit is contained in:
parent
407f0f8663
commit
a26194a089
|
@ -6,7 +6,8 @@ opts.AddOptions(
|
|||
BoolOption('FRAMESKIP', 'Enable frameskipping', 1),
|
||||
BoolOption('OPENGL', 'Enable OpenGL support', 1),
|
||||
BoolOption('DEBUG', 'Build with debugging symbols', 0),
|
||||
BoolOption('LUA', 'Enable Lua support', 1)
|
||||
BoolOption('LUA', 'Enable Lua support', 1),
|
||||
BoolOption('NEWPPU', 'Enable new PPU core', 0)
|
||||
)
|
||||
|
||||
env = Environment(options = opts)
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
---version 2.0.3 yet to be released---
|
||||
24-sep-2008 - punkrockguy318 - [ 2057006 ] --newppu option added to sdl,
|
||||
disabled by default
|
||||
24-sep-2008 - punkrockguy318 - [ 2057008 ] lua is now optional, thanks
|
||||
shinydoofy for a patch. also fixed some build issues.
|
||||
22-sep-2008 - punkrockguy318 - [ 2008437 ] fixed an issue where flawed movie
|
||||
|
|
|
@ -185,6 +185,9 @@ InitConfig()
|
|||
// load lua script
|
||||
config->addOption("loadlua", "SDL.LuaScript", "");
|
||||
#endif
|
||||
|
||||
// enable new PPU core
|
||||
config->addOption("newppu", "SDL.NewPPU", "0");
|
||||
|
||||
// GamePad 0 - 3
|
||||
for(unsigned int i = 0; i < GAMEPAD_NUM_DEVICES; i++) {
|
||||
|
|
|
@ -54,6 +54,7 @@ char *DriverUsage="\
|
|||
--pal {0|1} Uses PAL timing.\n\
|
||||
--gamegenie {0|1} Enables emulated Game Genie.\n\
|
||||
--nospritelim {0|1} Disables the 8 sprites per scanline limitation.\n\
|
||||
--newppu {0|1} Enables the new PPU core.\n\
|
||||
--frameskip x Sets # of frames to skip per emulated frame.\n\
|
||||
--xres x Sets horizontal resolution to x for full screen mode.\n\
|
||||
--yres x Sets vertical resolution to x for full screen mode.\n\
|
||||
|
@ -496,6 +497,17 @@ SDL_GL_LoadLibrary(0);
|
|||
}
|
||||
#endif
|
||||
|
||||
g_config->getOption("SDL.NewPPU", &fname);
|
||||
if (fname == "1")
|
||||
newppu = 1;
|
||||
/*g_config->setOption("SDL.LuaScript", "");
|
||||
if (fname != "")
|
||||
{
|
||||
FCEU_LoadLuaCode(fname.c_str());
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
// loop playing the game
|
||||
while(GameInfo) {
|
||||
DoFun(frameskip);
|
||||
|
|
Loading…
Reference in New Issue