mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 17:02:40 +00:00
added branch name into sdl window title
This commit is contained in:
parent
18659ec01c
commit
e358ba032d
@ -141,8 +141,8 @@ void Emulator::Run(const std::filesystem::path& file) {
|
|||||||
if (Common::isRelease) {
|
if (Common::isRelease) {
|
||||||
window_title = fmt::format("shadPS4 v{} | {}", Common::VERSION, game_title);
|
window_title = fmt::format("shadPS4 v{} | {}", Common::VERSION, game_title);
|
||||||
} else {
|
} else {
|
||||||
window_title =
|
window_title = fmt::format("shadPS4 v{} {} {} | {}", Common::VERSION, Common::g_scm_branch,
|
||||||
fmt::format("shadPS4 v{} {} | {}", Common::VERSION, Common::g_scm_desc, game_title);
|
Common::g_scm_desc, game_title);
|
||||||
}
|
}
|
||||||
window = std::make_unique<Frontend::WindowSDL>(
|
window = std::make_unique<Frontend::WindowSDL>(
|
||||||
Config::getScreenWidth(), Config::getScreenHeight(), controller, window_title);
|
Config::getScreenWidth(), Config::getScreenHeight(), controller, window_title);
|
||||||
|
Loading…
Reference in New Issue
Block a user