SDL: Set default width and height
Jeffrey Pfau jeffrey@endrift.com
Sun, 09 Nov 2014 15:51:06 -0800
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/platform/sdl/main.c
→
src/platform/sdl/main.c
@@ -11,6 +11,7 @@
#include "gba-thread.h" #include "gba.h" #include "gba-config.h" +#include "gba-video.h" #include "platform/commandline.h" #include "util/configuration.h"@@ -39,6 +40,8 @@ GBAConfigInit(&config, PORT);
GBAConfigLoad(&config); struct GBAOptions opts = { + .width = VIDEO_HORIZONTAL_PIXELS, + .height = VIDEO_VERTICAL_PIXELS, .audioBuffers = 512, .videoSync = false, .audioSync = true,