From bc53ff35a982e038e119599cfe326bfc723a8a67 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Sat, 8 Jun 2019 12:39:52 +0200 Subject: this is the same thing, but, for the sake of consistency --- src/GPU.cpp | 2 +- src/GPU2D.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/GPU.cpp b/src/GPU.cpp index d1870fd..747bc18 100644 --- a/src/GPU.cpp +++ b/src/GPU.cpp @@ -150,7 +150,7 @@ void Reset() VRAMMap_ARM7[0] = 0; VRAMMap_ARM7[1] = 0; -printf("RESET: ACCEL=%d FRAMEBUFFER=%p\n", Accelerated, Framebuffer[0][0]); + int fbsize; if (Accelerated) fbsize = (256*3 + 1) * 192; else fbsize = 256 * 192; diff --git a/src/GPU2D.cpp b/src/GPU2D.cpp index c51b252..8823d1b 100644 --- a/src/GPU2D.cpp +++ b/src/GPU2D.cpp @@ -882,7 +882,7 @@ void GPU2D::VBlankEnd() OBJMosaicY = 0; OBJMosaicYMax = OBJMosaicSize[1]; - if (GPU3D::Renderer != 0) + if (Accelerated) { if ((Num == 0) && (CaptureCnt & (1<<31)) && (((CaptureCnt >> 29) & 0x3) != 1)) { -- cgit v1.2.3