GBA Video: Fix getting height of buffer when initializing
Vicki Pfau vi@endrift.com
Wed, 22 Mar 2017 14:38:55 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/gba/renderers/video-software.c
→
src/gba/renderers/video-software.c
@@ -75,7 +75,7 @@
struct GBAVideoSoftwareRenderer* softwareRenderer = (struct GBAVideoSoftwareRenderer*) renderer; int y; - for (y = 0; y < softwareRenderer->masterEnd; ++y) { + for (y = 0; y < softwareRenderer->masterHeight; ++y) { color_t* row = &softwareRenderer->outputBuffer[softwareRenderer->outputBufferStride * y]; int x; for (x = 0; x < softwareRenderer->masterEnd; ++x) {