aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/mainDraw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise/mainDraw.cpp')
-rw-r--r--engines/cruise/mainDraw.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/cruise/mainDraw.cpp b/engines/cruise/mainDraw.cpp
index 687f27a2dd..3e4c6644af 100644
--- a/engines/cruise/mainDraw.cpp
+++ b/engines/cruise/mainDraw.cpp
@@ -82,11 +82,7 @@ void freeAutoCell(void) {
}
void flipScreen(void) {
- uint8 *swapPtr;
-
- swapPtr = gfxModuleData.pPage00;
- gfxModuleData.pPage00 = gfxModuleData.pPage10;
- gfxModuleData.pPage10 = swapPtr;
+ SWAP(gfxModuleData.pPage00, gfxModuleData.pPage10);
gfxModuleData_flipScreen();