mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Don't save config when launching a game (it should already have been saved)
This commit is contained in:
parent
3d960d23ea
commit
dc89b6a918
2 changed files with 0 additions and 4 deletions
|
@ -497,7 +497,6 @@ bool IsDirectory(const Path &path) {
|
|||
bool Delete(const Path &filename) {
|
||||
if (SIMULATE_SLOW_IO) {
|
||||
sleep_ms(200, "slow-io-sim");
|
||||
INFO_LOG(Log::System, "Delete %s", filename.c_str());
|
||||
}
|
||||
switch (filename.Type()) {
|
||||
case PathType::NATIVE:
|
||||
|
|
|
@ -1509,7 +1509,6 @@ bool MainScreen::DrawBackgroundFor(UIContext &dc, const Path &gamePath, float pr
|
|||
}
|
||||
|
||||
UI::EventReturn MainScreen::OnGameSelected(UI::EventParams &e) {
|
||||
g_Config.Save("MainScreen::OnGameSelected");
|
||||
Path path(e.s);
|
||||
std::shared_ptr<GameInfo> ginfo = g_gameInfoCache->GetInfo(nullptr, path, GameInfoFlags::FILE_TYPE);
|
||||
if (ginfo->fileType == IdentifiedFileType::PSP_SAVEDATA_DIRECTORY) {
|
||||
|
@ -1555,8 +1554,6 @@ UI::EventReturn MainScreen::OnGameHighlight(UI::EventParams &e) {
|
|||
}
|
||||
|
||||
UI::EventReturn MainScreen::OnGameSelectedInstant(UI::EventParams &e) {
|
||||
// TODO: This is really not necessary here in all cases.
|
||||
g_Config.Save("MainScreen::OnGameSelectedInstant");
|
||||
ScreenManager *screen = screenManager();
|
||||
LaunchFile(screen, Path(e.s));
|
||||
return UI::EVENT_DONE;
|
||||
|
|
Loading…
Add table
Reference in a new issue