fix vc not having this syntax

This commit is contained in:
lif 2024-03-03 01:02:01 -08:00
parent fb0c58a5b4
commit 49a14d651e
1 changed files with 6 additions and 5 deletions

11
main.c
View File

@ -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 <stdint.h>
#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 */