Skip to content
Snippets Groups Projects
Commit 8836ed4d authored by Neel Chauhan's avatar Neel Chauhan
Browse files

games/SpaceCadetPinball: Use current directory not PREFIX

parent c45b9330
Branches
Tags
No related merge requests found
PORTNAME= SpaceCadetPinball PORTNAME= SpaceCadetPinball
PORTVERSION= 1.1.1.20211010 PORTVERSION= 1.1.1.20211010
PORTREVISION= 1
CATEGORIES= games CATEGORIES= games
MAINTAINER= nc@FreeBSD.org MAINTAINER= nc@FreeBSD.org
......
--- 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));
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment