Skip to content

Commit

Permalink
fix crash on 3DS
Browse files Browse the repository at this point in the history
  • Loading branch information
zephray authored and palxex committed Apr 10, 2021
1 parent 4187ebf commit 815f750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,11 +463,11 @@ main(
Return value:
Integer value.
Integer value.157190
--*/
{
#if !defined( __EMSCRIPTEN__ ) && !defined(__WINRT__)
#if !defined( __EMSCRIPTEN__ ) && !defined(__WINRT__) && !defined(__N3DS__)
memset(gExecutablePath,0,PAL_MAX_PATH);
strncpy(gExecutablePath, argv[0], PAL_MAX_PATH);
#endif
Expand Down

0 comments on commit 815f750

Please sign in to comment.