mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Try default constructors for Symbian.
This commit is contained in:
1 parent
306786db60
commit
c52b73393b
4 files changed
+11
-15
No files matched your search
+1
-5
@@ -335,7 +335,6 @@ namespace SaveState
|
||||
std::string fn = GenerateSaveSlotFilename(slot, STATE_EXTENSION);
|
||||
std::string shot = GenerateSaveSlotFilename(slot, SCREENSHOT_EXTENSION);
|
||||
if (!fn.empty()) {
|
||||
#ifndef __SYMBIAN32__
|
||||
auto renameCallback = [=](bool status, void *data) {
|
||||
if (status) {
|
||||
if (File::Exists(fn)) {
|
||||
@@ -348,11 +347,8 @@ namespace SaveState
|
||||
}
|
||||
};
|
||||
// Let's also create a screenshot.
|
||||
SaveScreenshot(shot, nullptr, 0);
|
||||
SaveScreenshot(shot, Callback(), 0);
|
||||
Save(fn + ".tmp", renameCallback, cbUserData);
|
||||
#else
|
||||
Save(fn, renameCallback, cbUserData);
|
||||
#endif
|
||||
} else {
|
||||
I18NCategory *s = GetI18NCategory("Screen");
|
||||
osm.Show("Failed to save state. Error in the file system.", 2.0);
|
||||
|
||||
Reference in new issue
Block a user