mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Moved from using enum to enum class
This commit is contained in:
parent
7fd7afeba9
commit
64e432e12d
@ -72,7 +72,7 @@ enum class SmallDisplayZoom {
|
||||
MANUAL = 3,
|
||||
};
|
||||
|
||||
enum AutoLoadSaveState {
|
||||
enum class AutoLoadSaveState {
|
||||
OFF = 0,
|
||||
OLDEST = 1,
|
||||
NEWEST = 2,
|
||||
|
@ -1341,12 +1341,12 @@ void EmuScreen::autoLoad() {
|
||||
|
||||
//check if save state has save, if so, load
|
||||
switch (g_Config.iAutoLoadSaveState) {
|
||||
case AutoLoadSaveState::OFF: // "AutoLoad Off"
|
||||
case (int)AutoLoadSaveState::OFF: // "AutoLoad Off"
|
||||
return;
|
||||
case AutoLoadSaveState::OLDEST: // "Oldest Save"
|
||||
case (int)AutoLoadSaveState::OLDEST: // "Oldest Save"
|
||||
autoSlot = SaveState::GetOldestSlot(gamePath_);
|
||||
break;
|
||||
case AutoLoadSaveState::NEWEST: // "Newest Save"
|
||||
case (int)AutoLoadSaveState::NEWEST: // "Newest Save"
|
||||
autoSlot = SaveState::GetNewestSlot(gamePath_);
|
||||
break;
|
||||
default: // try the specific save state slot specified
|
||||
|
Loading…
Reference in New Issue
Block a user