Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games/SpaceCadetPinball: Use current directory not PREFIX
- Loading branch information
1 parent
c45b933
commit 8836ed4
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
games/SpaceCadetPinball/files/patch-SpaceCadetPinball_winmain.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- SpaceCadetPinball/winmain.cpp.orig 2021-10-14 18:28:42 UTC | ||
+++ SpaceCadetPinball/winmain.cpp | ||
@@ -56,7 +56,7 @@ int winmain::WinMain(LPCSTR lpCmdLine) | ||
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Could not initialize SDL2", SDL_GetError(), nullptr); | ||
return 1; | ||
} | ||
- BasePath = SDL_GetBasePath(); | ||
+ BasePath = SDL_strdup("./"); | ||
|
||
pinball::quickFlag = strstr(lpCmdLine, "-quick") != nullptr; | ||
DatFileName = options::get_string("Pinball Data", pinball::get_rc_string(168, 0)); |