bastet: avoid hardcoded prefix in patches

%ci:no-build
This commit is contained in:
Henrik Grimler 2022-01-30 15:16:21 +01:00
parent f57894b54b
commit e7365c115c
No known key found for this signature in database
GPG Key ID: B0076E490B71616B

View File

@ -5,7 +5,7 @@
const std::string RcFileName="/.bastetrc";
const std::string LocalHighScoresFileName="/.bastetscores";
- const std::string GlobalHighScoresFileName="/var/games/bastet.scores2";
+ const std::string GlobalHighScoresFileName="/data/data/com.termux/files/usr/var/games/bastet.scores2";
+ const std::string GlobalHighScoresFileName="@TERMUX_PREFIX@/var/games/bastet.scores2";
bool HighScores::Qualifies(int score){
stable_sort(begin(),end());