Token name and path fix
This commit is contained in:
parent
d4239e7c98
commit
81e1293693
2 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue