mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 10:19:04 +02:00
Buildfix, remove some .c_str()
This commit is contained in:
1 parent
fb7ce84edb
commit
07efc7f7a3
3 files changed
+4
-4
No files matched your search
+2
-2
@@ -832,7 +832,7 @@ int g_screenshotFailures;
|
||||
if (result == CChunkFileReader::ERROR_NONE) {
|
||||
callbackMessage = op.slot != LOAD_UNDO_SLOT ? sc->T("Loaded State") : sc->T("State load undone");
|
||||
callbackResult = TriggerLoadWarnings(callbackMessage);
|
||||
callbackMetadata = SaveState::GetSaveFileDateAsString(op.path.GetFilename().c_str());
|
||||
callbackMetadata = SaveState::GetSaveFileDateAsString(op.path.GetFilename());
|
||||
|
||||
hasLoadedState = true;
|
||||
Core_ResetException();
|
||||
@@ -858,7 +858,7 @@ int g_screenshotFailures;
|
||||
ERROR_LOG(Log::SaveState, "Load state failure: %s", errorString.c_str());
|
||||
callbackResult = Status::FAILURE;
|
||||
} else {
|
||||
callbackMessage = sc->T(errorString.c_str(), i18nLoadFailure);
|
||||
callbackMessage = sc->T(errorString, i18nLoadFailure);
|
||||
callbackResult = Status::FAILURE;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user