DS GX: Fix height being off by one

This commit is contained in:
Vicki Pfau 2017-03-13 13:10:59 -04:00
parent 1fc301103b
commit 0e9e1a8dc4
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
#include <mgba-util/memory.h> #include <mgba-util/memory.h>
#include "gba/renderers/software-private.h" #include "gba/renderers/software-private.h"
#define SCREEN_SIZE (DS_VIDEO_VERTICAL_PIXELS << 12) #define SCREEN_SIZE ((DS_VIDEO_VERTICAL_PIXELS - 1) << 12)
DEFINE_VECTOR(DSGXSoftwarePolygonList, struct DSGXSoftwarePolygon); DEFINE_VECTOR(DSGXSoftwarePolygonList, struct DSGXSoftwarePolygon);
DEFINE_VECTOR(DSGXSoftwareEdgeList, struct DSGXSoftwareEdge); DEFINE_VECTOR(DSGXSoftwareEdgeList, struct DSGXSoftwareEdge);