From 76ad84fd2866a02ea8d27b2dada3dd59e16e06ab Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Tue, 17 Jul 2018 02:29:03 +0800 Subject: [PATCH] Opps, accidentally broke borders in standalone --- src/gb/gbSGB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gb/gbSGB.cpp b/src/gb/gbSGB.cpp index 858cd0a8..c2155a31 100644 --- a/src/gb/gbSGB.cpp +++ b/src/gb/gbSGB.cpp @@ -194,7 +194,7 @@ void gbSgbDrawBorderTile(int x, int y, int tile, int attr) uint32_t* dest32 = (uint32_t*)pix + (y * 256) + x; #else uint16_t* dest = (uint16_t*)pix + ((y + 1) * (256 + 2)) + x; - uint32_t* dest32 = (uint32_t*)pix + ((y + 1) * 256 + 1) + x; + uint32_t* dest32 = (uint32_t*)pix + ((y + 1) * (256 + 1)) + x; #endif uint8_t* dest8 = (uint8_t*)pix + ((y * 256) + x) * 3;