From 6367524dcef40f047930b09f7c3b8b698d81d1ab Mon Sep 17 00:00:00 2001 From: irisz64 Date: Tue, 13 Jan 2026 15:19:37 +0100 Subject: [PATCH] this is pretty cool actually --- src/frontend/KaizenGui.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/frontend/KaizenGui.cpp b/src/frontend/KaizenGui.cpp index d023be9e..dd4f4d85 100644 --- a/src/frontend/KaizenGui.cpp +++ b/src/frontend/KaizenGui.cpp @@ -5,7 +5,7 @@ #include #include -KaizenGui::KaizenGui() noexcept : window("Kaizen", 1280, 720), settingsWindow(window), vulkanWidget(window.getHandle()), emuThread(fpsCounter, settingsWindow) { +KaizenGui::KaizenGui() noexcept : window("Kaizen " KAIZEN_VERSION_STR, 1280, 720), settingsWindow(window), vulkanWidget(window.getHandle()), emuThread(fpsCounter, settingsWindow) { gui::Initialize(n64::Core::GetInstance().parallel.wsi, window.getHandle()); SDL_InitSubSystem(SDL_INIT_GAMEPAD); @@ -244,6 +244,9 @@ void KaizenGui::RenderUI() { ImGui::Text("to offer a friendly user experience and compatibility."); ImGui::Text("Kaizen is licensed under the BSD 3-clause license."); ImGui::Text("Nintendo 64 is a registered trademark of Nintendo Co., Ltd."); + ImGui::Separator(); + ImGui::Text("Kaizen %s%s", KAIZEN_USE_HASH ? "dev build " : "", KAIZEN_VERSION_STR); + ImGui::Separator(); if(ImGui::Button("OK")) { aboutOpen = false; ImGui::CloseCurrentPopup(); @@ -420,7 +423,7 @@ void KaizenGui::LoadROM(const std::string &path) noexcept { n64::Core& core = n64::Core::GetInstance(); core.LoadROM(path); const auto gameNameDB = n64::Core::GetMem().rom.gameNameDB; - SDL_SetWindowTitle(window.getHandle(), ("Kaizen - " + gameNameDB).c_str()); + SDL_SetWindowTitle(window.getHandle(), ("Kaizen " KAIZEN_VERSION_STR " - " + gameNameDB).c_str()); } void KaizenGui::run() {