diff options
author | Nebuleon Fumika | 2013-05-20 03:17:02 -0400 |
---|---|---|
committer | Nebuleon Fumika | 2013-05-20 03:17:02 -0400 |
commit | 4b5a5a15d73f8aafb3f2951c2517574eacbee84e (patch) | |
tree | f924c9cfa63e7d83b59965a8f74f0de20a265187 /source/nds/displaymodes.cpp | |
parent | 41c50b372e7819f447d98ed2737aefc72d5b864d (diff) | |
download | snes9x2005-4b5a5a15d73f8aafb3f2951c2517574eacbee84e.tar.gz snes9x2005-4b5a5a15d73f8aafb3f2951c2517574eacbee84e.tar.bz2 snes9x2005-4b5a5a15d73f8aafb3f2951c2517574eacbee84e.zip |
Add an option to put the game on the Lower Screen.
* Before entering the menu, copy the game screen to the Upper Screen if it's on the Lower Screen.
* Now, the frame that's shown in the menu doesn't appear to be the previous frame for a fraction of a second anymore.
Diffstat (limited to 'source/nds/displaymodes.cpp')
-rw-r--r-- | source/nds/displaymodes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nds/displaymodes.cpp b/source/nds/displaymodes.cpp index c45f7c1..ead3c93 100644 --- a/source/nds/displaymodes.cpp +++ b/source/nds/displaymodes.cpp @@ -56,10 +56,10 @@ static uint16 SevenToSixScanlineResize (uint16 TopColour, uint16 BottomColour, u ; } -void NDSSFCDrawFrameAntialiased () +void NDSSFCDrawFrameAntialiased (void* screen_addr) { uint16 X, Y; - uint16 *SrcTop = (uint16 *) GFX.Screen, *SrcBottom = SrcTop + 256, *Dest = (uint16 *) up_screen_addr; + uint16 *SrcTop = (uint16 *) GFX.Screen, *SrcBottom = SrcTop + 256, *Dest = (uint16 *) screen_addr; for (Y = 0; Y < 224; Y += 7) { |