mirror of https://github.com/PCSX2/pcsx2.git
FullscreenUI: Fix Wunused-function compiler warning.
This commit is contained in:
parent
6df5cd8222
commit
e29bc933fe
|
@ -278,10 +278,8 @@ namespace FullscreenUI
|
|||
static void DoShutdown(bool save_state);
|
||||
static void RequestReset();
|
||||
static void DoReset();
|
||||
static void RequestChangeDiscFromFile();
|
||||
static void DoChangeDiscFromFile();
|
||||
static void RequestChangeDisc();
|
||||
static void DoChangeDisc();
|
||||
static void DoRequestExit();
|
||||
static void DoToggleFullscreen();
|
||||
|
||||
|
@ -999,16 +997,6 @@ void FullscreenUI::DoReset()
|
|||
});
|
||||
}
|
||||
|
||||
void FullscreenUI::RequestChangeDiscFromFile()
|
||||
{
|
||||
ConfirmShutdownIfMemcardBusy([](bool result) {
|
||||
if (result)
|
||||
DoChangeDiscFromFile();
|
||||
else
|
||||
ClosePauseMenu();
|
||||
});
|
||||
}
|
||||
|
||||
void FullscreenUI::DoChangeDiscFromFile()
|
||||
{
|
||||
auto callback = [](const std::string& path) {
|
||||
|
@ -1038,17 +1026,12 @@ void FullscreenUI::RequestChangeDisc()
|
|||
{
|
||||
ConfirmShutdownIfMemcardBusy([](bool result) {
|
||||
if (result)
|
||||
DoChangeDisc();
|
||||
DoChangeDiscFromFile();
|
||||
else
|
||||
ClosePauseMenu();
|
||||
});
|
||||
}
|
||||
|
||||
void FullscreenUI::DoChangeDisc()
|
||||
{
|
||||
DoChangeDiscFromFile();
|
||||
}
|
||||
|
||||
void FullscreenUI::DoRequestExit()
|
||||
{
|
||||
Host::RunOnCPUThread([]() { Host::RequestExit(true); });
|
||||
|
|
Loading…
Reference in New Issue