From aae478c8df5ac4cc06dba7eb943b42d0efc40085 Mon Sep 17 00:00:00 2001 From: toxie Date: Wed, 11 Oct 2023 00:06:39 +0200 Subject: [PATCH] fix PinMAME32 cmake --- src/windows/winmain.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/windows/winmain.c b/src/windows/winmain.c index a8b056efa..c0b575f28 100644 --- a/src/windows/winmain.c +++ b/src/windows/winmain.c @@ -105,9 +105,10 @@ static void stop_profiler(void); #ifdef WINUI #define main main_ -#endif - +extern char g_szGameName[256]; +#else char g_szGameName[256] = ""; // String containing requested game name (may be different from ROM if aliased) +#endif int main(int argc, char **argv) {