SaveState/DolphinWX: Display time and date of savestate next to the load/save/select slot menu options.
This commit is contained in:
parent
16272f4975
commit
429f4ea158
|
@ -17,6 +17,7 @@
|
|||
#include "Core/ConfigManager.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Core/CoreTiming.h"
|
||||
#include "Core/Host.h"
|
||||
#include "Core/Movie.h"
|
||||
#include "Core/State.h"
|
||||
#include "Core/HW/CPU.h"
|
||||
|
@ -373,6 +374,7 @@ static void CompressAndDumpState(CompressAndDumpState_args save_args)
|
|||
}
|
||||
|
||||
Core::DisplayMessage(StringFromFormat("Saved State to %s", filename.c_str()), 2000);
|
||||
Host_UpdateMainFrame();
|
||||
}
|
||||
|
||||
void SaveAs(const std::string& filename, bool wait)
|
||||
|
|
|
@ -462,8 +462,8 @@ wxString CFrame::GetMenuLabel(int Id)
|
|||
case HK_LOAD_STATE_SLOT_8:
|
||||
case HK_LOAD_STATE_SLOT_9:
|
||||
case HK_LOAD_STATE_SLOT_10:
|
||||
Label = wxString::Format(_("Slot %i"),
|
||||
Id - HK_LOAD_STATE_SLOT_1 + 1);
|
||||
Label = wxString::Format(_("Slot %i - %s"),
|
||||
Id - HK_LOAD_STATE_SLOT_1 + 1, State::GetInfoStringOfSlot(Id - HK_LOAD_STATE_SLOT_1 + 1).c_str());
|
||||
break;
|
||||
|
||||
case HK_SAVE_STATE_SLOT_1:
|
||||
|
@ -476,8 +476,8 @@ wxString CFrame::GetMenuLabel(int Id)
|
|||
case HK_SAVE_STATE_SLOT_8:
|
||||
case HK_SAVE_STATE_SLOT_9:
|
||||
case HK_SAVE_STATE_SLOT_10:
|
||||
Label = wxString::Format(_("Slot %i"),
|
||||
Id - HK_SAVE_STATE_SLOT_1 + 1);
|
||||
Label = wxString::Format(_("Slot %i - %s"),
|
||||
Id - HK_SAVE_STATE_SLOT_1 + 1, State::GetInfoStringOfSlot(Id - HK_SAVE_STATE_SLOT_1 + 1).c_str());
|
||||
break;
|
||||
case HK_SAVE_STATE_FILE:
|
||||
Label = _("Save State...");
|
||||
|
@ -522,7 +522,8 @@ wxString CFrame::GetMenuLabel(int Id)
|
|||
case HK_SELECT_STATE_SLOT_8:
|
||||
case HK_SELECT_STATE_SLOT_9:
|
||||
case HK_SELECT_STATE_SLOT_10:
|
||||
Label = wxString::Format(_("Select Slot %i"), Id - HK_SELECT_STATE_SLOT_1 + 1);
|
||||
Label = wxString::Format(_("Select Slot %i - %s"),
|
||||
Id - HK_SELECT_STATE_SLOT_1 + 1, State::GetInfoStringOfSlot(Id - HK_SELECT_STATE_SLOT_1 + 1).c_str());
|
||||
break;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue