mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
FullscreenUI: Fix compiling without cheevos
This commit is contained in:
parent
bf3476d903
commit
19dcd07f87
|
@ -299,6 +299,8 @@ void CloseQuickMenu()
|
|||
ClearImGuiFocus();
|
||||
}
|
||||
|
||||
#ifdef WITH_CHEEVOS
|
||||
|
||||
bool OpenAchievementsWindow()
|
||||
{
|
||||
const bool achievements_enabled = Cheevos::HasActiveGame() && (Cheevos::GetAchievementCount() > 0);
|
||||
|
@ -322,6 +324,8 @@ bool OpenLeaderboardsWindow()
|
|||
return true;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void Shutdown()
|
||||
{
|
||||
if (s_game_list_load_thread.joinable())
|
||||
|
|
|
@ -49,8 +49,12 @@ void SystemDestroyed();
|
|||
void SystemPaused(bool paused);
|
||||
void OpenQuickMenu();
|
||||
void CloseQuickMenu();
|
||||
|
||||
#ifdef WITH_CHEEVOS
|
||||
bool OpenAchievementsWindow();
|
||||
bool OpenLeaderboardsWindow();
|
||||
#endif
|
||||
|
||||
void Shutdown();
|
||||
void Render();
|
||||
|
||||
|
|
Loading…
Reference in a new issue