typo & minor stuff

This commit is contained in:
delledev 2024-10-03 18:04:13 +03:00
parent 660af35eb4
commit fb18a7e508
3 changed files with 6 additions and 6 deletions

View file

@ -842,5 +842,5 @@ if (UNIX AND NOT APPLE)
endif()
endif()
#Discord RPC
# Discord RPC
target_link_libraries(shadps4 PRIVATE discord-rpc)

View file

@ -184,7 +184,7 @@ if (NOT TARGET pugixml::pugixml)
add_subdirectory(pugixml)
endif()
#Discord RPC
set(BUILD_EXAMPLES OFF)
add_subdirectory(discord-rpc/)
target_include_directories(discord-rpc INTERFACE discord-rpc/include)
# Discord RPC
set(BUILD_EXAMPLES OFF)
add_subdirectory(discord-rpc/)
target_include_directories(discord-rpc INTERFACE discord-rpc/include)

View file

@ -431,7 +431,7 @@ void load(const std::filesystem::path& path) {
isFullscreen = toml::find_or<bool>(general, "Fullscreen", false);
playBGM = toml::find_or<bool>(general, "playBGM", false);
BGMvolume = toml::find_or<int>(general, "BGMvolume", 50);
enableDiscordRPC = toml::find_or<bool>(general, "enableDiscordRPC", false);
enableDiscordRPC = toml::find_or<bool>(general, "enableDiscordRPC", true);
logFilter = toml::find_or<std::string>(general, "logFilter", "");
logType = toml::find_or<std::string>(general, "logType", "sync");
userName = toml::find_or<std::string>(general, "userName", "shadPS4");