mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-19 21:52:45 +00:00
Token name and path fix
This commit is contained in:
parent
d4239e7c98
commit
81e1293693
@ -1423,8 +1423,8 @@ void NativeShutdown() {
|
||||
// In the future, we might make this more sophisticated, such as storing in the app private directory on Android.
|
||||
// Right now we just store secrets in separate files next to ppsspp.ini. The important thing is keeping them out of it
|
||||
// since we often ask people to post or send the ini for debugging.
|
||||
Path GetSecretPath(const char *nameOfSecret) {
|
||||
return g_Config.memStickDirectory / ("PSP/SYSTEM/ppsspp_" + std::string(nameOfSecret) + ".dat");
|
||||
static Path GetSecretPath(const char *nameOfSecret) {
|
||||
return GetSysDirectory(DIRECTORY_SYSTEM) / ("ppsspp_" + std::string(nameOfSecret) + ".dat");
|
||||
}
|
||||
|
||||
// name should be simple alphanumerics to avoid problems on Windows.
|
||||
|
@ -164,7 +164,7 @@ static constexpr UI::UISound UNLOCK_SOUND_NAME = UI::UISound::TOGGLE_ON;
|
||||
static constexpr UI::UISound LBSUBMIT_SOUND_NAME = UI::UISound::TOGGLE_OFF;
|
||||
|
||||
// It's the name of the secret, not a secret name - the value is not secret :)
|
||||
static const char *RA_TOKEN_SECRET_NAME = "retroachievements ";
|
||||
static const char *RA_TOKEN_SECRET_NAME = "retroachievements";
|
||||
|
||||
static void FormattedError(const char *format, ...);
|
||||
static void LogFailedResponseJSON(const Common::HTTPDownloader::Request::Data &data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user