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();
|
ClearImGuiFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef WITH_CHEEVOS
|
||||||
|
|
||||||
bool OpenAchievementsWindow()
|
bool OpenAchievementsWindow()
|
||||||
{
|
{
|
||||||
const bool achievements_enabled = Cheevos::HasActiveGame() && (Cheevos::GetAchievementCount() > 0);
|
const bool achievements_enabled = Cheevos::HasActiveGame() && (Cheevos::GetAchievementCount() > 0);
|
||||||
|
@ -322,6 +324,8 @@ bool OpenLeaderboardsWindow()
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
void Shutdown()
|
void Shutdown()
|
||||||
{
|
{
|
||||||
if (s_game_list_load_thread.joinable())
|
if (s_game_list_load_thread.joinable())
|
||||||
|
|
|
@ -49,8 +49,12 @@ void SystemDestroyed();
|
||||||
void SystemPaused(bool paused);
|
void SystemPaused(bool paused);
|
||||||
void OpenQuickMenu();
|
void OpenQuickMenu();
|
||||||
void CloseQuickMenu();
|
void CloseQuickMenu();
|
||||||
|
|
||||||
|
#ifdef WITH_CHEEVOS
|
||||||
bool OpenAchievementsWindow();
|
bool OpenAchievementsWindow();
|
||||||
bool OpenLeaderboardsWindow();
|
bool OpenLeaderboardsWindow();
|
||||||
|
#endif
|
||||||
|
|
||||||
void Shutdown();
|
void Shutdown();
|
||||||
void Render();
|
void Render();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue