Fix some warnings.

The enum type was not hurting anyone, since the values were the same.
This commit is contained in:
Unknown W. Brackets 2016-09-10 19:41:39 -07:00
parent 0b8a3e8c26
commit 29f5763d32
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -604,7 +604,7 @@ handleELF:
// ILOG("Completed writing info for %s", info_->GetTitle().c_str());
}
virtual float priority() {
float priority() override {
return info_->lastAccessedTime;
}