GBA Video: Fix getting height of buffer when initializing

This commit is contained in:
Vicki Pfau 2017-03-22 14:38:55 -07:00
parent 9337d808d2
commit d03528d4da
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ static void GBAVideoSoftwareRendererInit(struct GBAVideoRenderer* renderer) {
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) {