Add support for using a portable directory without special build flags. (#1956)

This commit is contained in:
Steveice10
2024-01-24 01:27:25 -08:00
committed by GitHub
parent 77274735d6
commit 4b576d066e
3 changed files with 45 additions and 49 deletions

View File

@ -299,10 +299,10 @@ int main(int argc, char** argv)
if (argc != 0 && (!strcasecmp(argv[0], "derpDS") || !strcasecmp(argv[0], "./derpDS")))
printf("did you just call me a derp???\n");
Platform::Init(argc, argv);
MelonApplication melon(argc, argv);
Platform::Init(argc, argv);
CLI::CommandLineOptions* options = CLI::ManageArgs(melon);
// http://stackoverflow.com/questions/14543333/joystick-wont-work-using-sdl