built with new gamemode, in steps of implementing properly

This commit is contained in:
adas20 2025-06-25 09:44:31 -04:00
parent 3488a31210
commit 6f63e765a0
3 changed files with 5 additions and 1 deletions

View file

@ -11,7 +11,7 @@ extern "C" {
bool gamemode_supported()
{
#if defined(GAMEMODE_AVAILABLE)
return true
return true;
#else
return false;
#endif

View file

@ -133,6 +133,7 @@ add_library(rpcs3_ui STATIC
welcome_dialog.ui
../display_sleep_control.cpp
../gamemode_control.cpp
../headless_application.cpp
../main_application.cpp
../module_verifier.cpp

View file

@ -951,6 +951,9 @@ void gui_application::InitializeCallbacks()
callbacks.display_sleep_control_supported = [](){ return display_sleep_control_supported(); };
callbacks.enable_display_sleep = [](bool enabled){ enable_display_sleep(enabled); };
//callbacks.gamemode_supported = [](){ return gamemode_supported(); };
//callbacks.enable_gamemode = [](bool enabled){ enable_gamemode(enabled); };
callbacks.check_microphone_permissions = []()
{
Emu.BlockingCallFromMainThread([]()