Fixed build
This commit is contained in:
1 parent
59a0416819
commit
effc16954f
1 file changed
+1
-2
@@ -157,8 +157,7 @@ AddN3DSDisplay(gfxScreen_t screen)
|
|||||||
|
|
||||||
modedata = SDL_malloc(sizeof(ModeDriverData));
|
modedata = SDL_malloc(sizeof(ModeDriverData));
|
||||||
if (!modedata) {
|
if (!modedata) {
|
||||||
SDL_OutOfMemory();
|
return SDL_OutOfMemory();
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mode.w = (screen == GFX_TOP) ? GSP_SCREEN_HEIGHT_TOP : GSP_SCREEN_HEIGHT_BOTTOM;
|
mode.w = (screen == GFX_TOP) ? GSP_SCREEN_HEIGHT_TOP : GSP_SCREEN_HEIGHT_BOTTOM;
|
||||||
|
|||||||
Reference in new issue
Block a user