fix vc not having this syntax
This commit is contained in:
parent
fb0c58a5b4
commit
49a14d651e
11
main.c
11
main.c
|
@ -1,7 +1,7 @@
|
||||||
#include "SDL_blendmode.h"
|
#include "SDL3/SDL_blendmode.h"
|
||||||
#include "SDL_error.h"
|
#include "SDL3/SDL_error.h"
|
||||||
#include "SDL_stdinc.h"
|
#include "SDL3/SDL_stdinc.h"
|
||||||
#include "SDL_surface.h"
|
#include "SDL3/SDL_surface.h"
|
||||||
#include "mgba/core/config.h"
|
#include "mgba/core/config.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#define SDL_MAIN_USE_CALLBACKS 1
|
#define SDL_MAIN_USE_CALLBACKS 1
|
||||||
|
@ -147,7 +147,8 @@ int SDL_AppInit(int argc, char *argv[]) {
|
||||||
int devcount = 0;
|
int devcount = 0;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
struct mArguments args = {};
|
struct mArguments args;
|
||||||
|
memset(&args, 0, sizeof(args));
|
||||||
bool parsed = mArgumentsParse(&args, argc, argv, NULL, 0);
|
bool parsed = mArgumentsParse(&args, argc, argv, NULL, 0);
|
||||||
|
|
||||||
/* Enable standard application logging */
|
/* Enable standard application logging */
|
||||||
|
|
Loading…
Reference in New Issue