Just leave Symbian the way it was.

This commit is contained in:
Unknown W. Brackets 2014-12-20 23:18:42 -08:00
parent 2dd9b10c8d
commit fed8b48e04

View File

@ -335,6 +335,7 @@ namespace SaveState
std::string fn = GenerateSaveSlotFilename(slot, STATE_EXTENSION); std::string fn = GenerateSaveSlotFilename(slot, STATE_EXTENSION);
std::string shot = GenerateSaveSlotFilename(slot, SCREENSHOT_EXTENSION); std::string shot = GenerateSaveSlotFilename(slot, SCREENSHOT_EXTENSION);
if (!fn.empty()) { if (!fn.empty()) {
#ifndef __SYMBIAN32__
auto renameCallback = [=](bool status, void *data) { auto renameCallback = [=](bool status, void *data) {
if (status) { if (status) {
if (File::Exists(fn)) { if (File::Exists(fn)) {
@ -349,6 +350,9 @@ namespace SaveState
// Let's also create a screenshot. // Let's also create a screenshot.
SaveScreenshot(shot, nullptr, 0); SaveScreenshot(shot, nullptr, 0);
Save(fn + ".tmp", renameCallback, cbUserData); Save(fn + ".tmp", renameCallback, cbUserData);
#else
Save(fn, renameCallback, cbUserData);
#endif
} else { } else {
I18NCategory *s = GetI18NCategory("Screen"); I18NCategory *s = GetI18NCategory("Screen");
osm.Show("Failed to save state. Error in the file system.", 2.0); osm.Show("Failed to save state. Error in the file system.", 2.0);