blob: 9784ec56667e1a5f06da0fa32b8bb315b9cf43da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
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));
|