[Base] Fixed possible compilation failure

This commit is contained in:
Gliniak 2025-03-31 22:06:06 +02:00 committed by Radosław Gliński
parent 30dcc09714
commit 86a25791d0
2 changed files with 3 additions and 3 deletions

View File

@ -168,7 +168,7 @@ using namespace xe::hid;
using namespace xe::gpu;
constexpr std::string_view kRecentlyPlayedTitlesFilename = "recent.toml";
constexpr std::string kBaseTitle = "Xenia-canary";
constexpr std::string_view kBaseTitle = "Xenia-canary";
EmulatorWindow::EmulatorWindow(Emulator* emulator,
ui::WindowedAppContext& app_context,
@ -181,7 +181,7 @@ EmulatorWindow::EmulatorWindow(Emulator* emulator,
std::make_unique<ui::ImGuiDrawer>(window_.get(), kZOrderImGui)),
display_config_game_config_load_callback_(
new DisplayConfigGameConfigLoadCallback(*emulator, *this)) {
base_title_ = kBaseTitle +
base_title_ = std::string(kBaseTitle) +
#ifdef DEBUG
#if _NO_DEBUG_HEAP == 1
" DEBUG"

View File

@ -31,4 +31,4 @@ class MessengerApp : public App {
} // namespace kernel
} // namespace xe
#endif XENIA_KERNEL_XAM_APPS_MESSENGER_APP_H_
#endif // XENIA_KERNEL_XAM_APPS_MESSENGER_APP_H_