Skip to content

Commit

Permalink
fix PinMAME32 cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
toxieainc committed Oct 10, 2023
1 parent a30730f commit aae478c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/windows/winmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit aae478c

Please sign in to comment.