mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
Built with set GameMode Param. Will implement toggle logic
This commit is contained in:
parent
4fd581b812
commit
5ff0d0d432
2 changed files with 11 additions and 0 deletions
|
@ -152,6 +152,14 @@ if(NOT WIN32)
|
|||
add_compile_options(-pthread)
|
||||
endif()
|
||||
|
||||
## Look for Gamemode if its installed on Linux
|
||||
if(LINUX)
|
||||
find_program(GAMEMODE_FOUND gamemoded) ## Only works if gamemode is installed on system (might include lib32 case)
|
||||
if(GAMEMODE_FOUND)
|
||||
set(GAMEMODE_AVAILABLE ON CACHE BOOL "GameMode is only available on Linux." FORCE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# TODO: do real installation, including copying directory structure
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${PROJECT_BINARY_DIR}/bin")
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${PROJECT_BINARY_DIR}/bin")
|
||||
|
|
|
@ -187,6 +187,8 @@ enum class emu_settings_type
|
|||
WindowTitleFormat,
|
||||
PauseDuringHomeMenu,
|
||||
|
||||
//EnableGamemode, // Only available if Feral Interactive GameMode is installed
|
||||
|
||||
// Network
|
||||
InternetStatus,
|
||||
DNSAddress,
|
||||
|
@ -388,6 +390,7 @@ inline static const std::map<emu_settings_type, cfg_location> settings_location
|
|||
{ emu_settings_type::SilenceAllLogs, { "Miscellaneous", "Silence All Logs" }},
|
||||
{ emu_settings_type::WindowTitleFormat, { "Miscellaneous", "Window Title Format" }},
|
||||
{ emu_settings_type::PauseDuringHomeMenu, { "Miscellaneous", "Pause Emulation During Home Menu" }},
|
||||
//{ emu_settings_type::EnableGamemode, { "Miscellaneous", "Enable GameMode" }}
|
||||
|
||||
// Networking
|
||||
{ emu_settings_type::InternetStatus, { "Net", "Internet enabled"}},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue