Opps, accidentally broke borders in standalone

This commit is contained in:
retro-wertz 2018-07-17 02:29:03 +08:00
parent bf447bf89a
commit 76ad84fd28
1 changed files with 1 additions and 1 deletions
src/gb

View File

@ -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;