SDL: Set default width and height

This commit is contained in:
Jeffrey Pfau 2014-11-09 15:51:06 -08:00
parent f008c68761
commit 2d37f8cd60
1 changed files with 3 additions and 0 deletions

View File

@ -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 @@ int main(int argc, char** argv) {
GBAConfigLoad(&config);
struct GBAOptions opts = {
.width = VIDEO_HORIZONTAL_PIXELS,
.height = VIDEO_VERTICAL_PIXELS,
.audioBuffers = 512,
.videoSync = false,
.audioSync = true,