mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 05:21:25 +12:00
built with new gamemode, in steps of implementing properly
This commit is contained in:
parent
3488a31210
commit
6f63e765a0
3 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,7 @@ extern "C" {
|
||||||
bool gamemode_supported()
|
bool gamemode_supported()
|
||||||
{
|
{
|
||||||
#if defined(GAMEMODE_AVAILABLE)
|
#if defined(GAMEMODE_AVAILABLE)
|
||||||
return true
|
return true;
|
||||||
#else
|
#else
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -133,6 +133,7 @@ add_library(rpcs3_ui STATIC
|
||||||
welcome_dialog.ui
|
welcome_dialog.ui
|
||||||
|
|
||||||
../display_sleep_control.cpp
|
../display_sleep_control.cpp
|
||||||
|
../gamemode_control.cpp
|
||||||
../headless_application.cpp
|
../headless_application.cpp
|
||||||
../main_application.cpp
|
../main_application.cpp
|
||||||
../module_verifier.cpp
|
../module_verifier.cpp
|
||||||
|
|
|
@ -951,6 +951,9 @@ void gui_application::InitializeCallbacks()
|
||||||
callbacks.display_sleep_control_supported = [](){ return display_sleep_control_supported(); };
|
callbacks.display_sleep_control_supported = [](){ return display_sleep_control_supported(); };
|
||||||
callbacks.enable_display_sleep = [](bool enabled){ enable_display_sleep(enabled); };
|
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 = []()
|
callbacks.check_microphone_permissions = []()
|
||||||
{
|
{
|
||||||
Emu.BlockingCallFromMainThread([]()
|
Emu.BlockingCallFromMainThread([]()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue