From 4b5a5a15d73f8aafb3f2951c2517574eacbee84e Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Mon, 20 May 2013 03:17:02 -0400 Subject: 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. --- source/nds/displaymodes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/nds/displaymodes.cpp') 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) { -- cgit v1.2.3