aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2019-06-08 12:39:52 +0200
committerArisotura <thetotalworm@gmail.com>2019-06-08 12:39:52 +0200
commitbc53ff35a982e038e119599cfe326bfc723a8a67 (patch)
tree73416495bc5f345bbbd4671de5bea78bb1a1db20
parent6b09953b250a71b75f587ce0d41fae6e3fbbe6e5 (diff)
this is the same thing, but, for the sake of consistency
-rw-r--r--src/GPU.cpp2
-rw-r--r--src/GPU2D.cpp2
2 files changed, 2 insertions, 2 deletions
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))
{