From 29f5763d328922a7f4e8a2bdd0db3cfcddc4e896 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 10 Sep 2016 19:41:39 -0700 Subject: [PATCH] Fix some warnings. The enum type was not hurting anyone, since the values were the same. --- Core/Dialog/PSPSaveDialog.cpp | 2 +- UI/GameInfoCache.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Dialog/PSPSaveDialog.cpp b/Core/Dialog/PSPSaveDialog.cpp index 8c08b0a510..ef818e70fb 100755 --- a/Core/Dialog/PSPSaveDialog.cpp +++ b/Core/Dialog/PSPSaveDialog.cpp @@ -1068,7 +1068,7 @@ void PSPSaveDialog::ExecuteNotVisibleIOAction() { { bool result = param.GetSize(param.GetPspParam()); // TODO: According to JPCSP, should test/verify this part but seems edge casey. - if (MemoryStick_State() != PSP_MEMORYSTICK_STATE_DRIVER_READY) { + if (MemoryStick_State() != PSP_MEMORYSTICK_STATE_INSERTED) { param.GetPspParam()->common.result = SCE_UTILITY_SAVEDATA_ERROR_RW_NO_MEMSTICK; } else if (result) { param.GetPspParam()->common.result = 0; diff --git a/UI/GameInfoCache.cpp b/UI/GameInfoCache.cpp index d2d9721f61..302107dd90 100644 --- a/UI/GameInfoCache.cpp +++ b/UI/GameInfoCache.cpp @@ -604,7 +604,7 @@ handleELF: // ILOG("Completed writing info for %s", info_->GetTitle().c_str()); } - virtual float priority() { + float priority() override { return info_->lastAccessedTime; }