From 49a14d651e00d4f5293ede4420454c74ee454138 Mon Sep 17 00:00:00 2001 From: lif <> Date: Sun, 3 Mar 2024 01:02:01 -0800 Subject: [PATCH] fix vc not having this syntax --- main.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/main.c b/main.c index d42fd19..124af2a 100644 --- a/main.c +++ b/main.c @@ -1,7 +1,7 @@ -#include "SDL_blendmode.h" -#include "SDL_error.h" -#include "SDL_stdinc.h" -#include "SDL_surface.h" +#include "SDL3/SDL_blendmode.h" +#include "SDL3/SDL_error.h" +#include "SDL3/SDL_stdinc.h" +#include "SDL3/SDL_surface.h" #include "mgba/core/config.h" #include #define SDL_MAIN_USE_CALLBACKS 1 @@ -147,7 +147,8 @@ int SDL_AppInit(int argc, char *argv[]) { int devcount = 0; int i; - struct mArguments args = {}; + struct mArguments args; + memset(&args, 0, sizeof(args)); bool parsed = mArgumentsParse(&args, argc, argv, NULL, 0); /* Enable standard application logging */