From 67553eeea706535bdb838ea7f5a9329c5bdcf6ff Mon Sep 17 00:00:00 2001 From: blitzingeagle Date: Mon, 4 Mar 2024 17:29:39 -0500 Subject: [PATCH] Update window strings for Lime --- src/citra/citra.cpp | 6 +++--- src/citra/emu_window/emu_window_sdl2.cpp | 2 +- src/citra/emu_window/emu_window_sdl2_gl.cpp | 2 +- src/citra/emu_window/emu_window_sdl2_sw.cpp | 2 +- src/citra/emu_window/emu_window_sdl2_vk.cpp | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp index 8488b64df..99fb285f0 100644 --- a/src/citra/citra.cpp +++ b/src/citra/citra.cpp @@ -84,7 +84,7 @@ static void PrintHelp(const char* argv0) { } static void PrintVersion() { - std::cout << "Citra " << Common::g_scm_branch << " " << Common::g_scm_desc << std::endl; + std::cout << "Lime " << Common::g_scm_branch << " " << Common::g_scm_desc << std::endl; } static void OnStateChanged(const Network::RoomMember::State& state) { @@ -400,7 +400,7 @@ int main(int argc, char** argv) { const auto scope = emu_window->Acquire(); - LOG_INFO(Frontend, "Citra Version: {} | {}-{}", Common::g_build_fullname, Common::g_scm_branch, + LOG_INFO(Frontend, "Lime Version: {} | {}-{}", Common::g_build_fullname, Common::g_scm_branch, Common::g_scm_desc); Settings::LogSettings(); @@ -416,7 +416,7 @@ int main(int argc, char** argv) { return -1; case Core::System::ResultStatus::ErrorLoader_ErrorEncrypted: LOG_CRITICAL(Frontend, "The game that you are trying to load must be decrypted before " - "being used with Citra. \n\n For more information on dumping and " + "being used with Lime. \n\n For more information on dumping and " "decrypting games, please refer to: " "https://citra-emu.org/wiki/dumping-game-cartridges/"); return -1; diff --git a/src/citra/emu_window/emu_window_sdl2.cpp b/src/citra/emu_window/emu_window_sdl2.cpp index 698dcc3dd..36c2f7fc7 100644 --- a/src/citra/emu_window/emu_window_sdl2.cpp +++ b/src/citra/emu_window/emu_window_sdl2.cpp @@ -243,7 +243,7 @@ void EmuWindow_SDL2::UpdateFramerateCounter() { if (current_time > last_time + 2000) { const auto results = system.GetAndResetPerfStats(); const auto title = - fmt::format("Citra {} | {}-{} | FPS: {:.0f} ({:.0f}%)", Common::g_build_fullname, + fmt::format("Lime {} | {}-{} | FPS: {:.0f} ({:.0f}%)", Common::g_build_fullname, Common::g_scm_branch, Common::g_scm_desc, results.game_fps, results.emulation_speed * 100.0f); SDL_SetWindowTitle(render_window, title.c_str()); diff --git a/src/citra/emu_window/emu_window_sdl2_gl.cpp b/src/citra/emu_window/emu_window_sdl2_gl.cpp index 09a7f5995..c72c16bf6 100644 --- a/src/citra/emu_window/emu_window_sdl2_gl.cpp +++ b/src/citra/emu_window/emu_window_sdl2_gl.cpp @@ -77,7 +77,7 @@ EmuWindow_SDL2_GL::EmuWindow_SDL2_GL(Core::System& system_, bool fullscreen, boo SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_DEBUG_FLAG); } - std::string window_title = fmt::format("Citra {} | {}-{}", Common::g_build_fullname, + std::string window_title = fmt::format("Lime {} | {}-{}", Common::g_build_fullname, Common::g_scm_branch, Common::g_scm_desc); // First, try to create a context with the requested type. diff --git a/src/citra/emu_window/emu_window_sdl2_sw.cpp b/src/citra/emu_window/emu_window_sdl2_sw.cpp index 3f2cf6db9..cdf60da79 100644 --- a/src/citra/emu_window/emu_window_sdl2_sw.cpp +++ b/src/citra/emu_window/emu_window_sdl2_sw.cpp @@ -20,7 +20,7 @@ class DummyContext : public Frontend::GraphicsContext {}; EmuWindow_SDL2_SW::EmuWindow_SDL2_SW(Core::System& system_, bool fullscreen, bool is_secondary) : EmuWindow_SDL2{system_, is_secondary}, system{system_} { - std::string window_title = fmt::format("Citra {} | {}-{}", Common::g_build_fullname, + std::string window_title = fmt::format("Lime {} | {}-{}", Common::g_build_fullname, Common::g_scm_branch, Common::g_scm_desc); render_window = SDL_CreateWindow(window_title.c_str(), diff --git a/src/citra/emu_window/emu_window_sdl2_vk.cpp b/src/citra/emu_window/emu_window_sdl2_vk.cpp index b7e46e1a3..47e10dc38 100644 --- a/src/citra/emu_window/emu_window_sdl2_vk.cpp +++ b/src/citra/emu_window/emu_window_sdl2_vk.cpp @@ -17,7 +17,7 @@ class DummyContext : public Frontend::GraphicsContext {}; EmuWindow_SDL2_VK::EmuWindow_SDL2_VK(Core::System& system, bool fullscreen, bool is_secondary) : EmuWindow_SDL2{system, is_secondary} { - const std::string window_title = fmt::format("Citra {} | {}-{}", Common::g_build_fullname, + const std::string window_title = fmt::format("Lime {} | {}-{}", Common::g_build_fullname, Common::g_scm_branch, Common::g_scm_desc); render_window = SDL_CreateWindow(window_title.c_str(),