From 43ca6710a046fa76dd36a62a039a514a77871c85 Mon Sep 17 00:00:00 2001 From: SimoneN64 Date: Sat, 28 Sep 2024 14:53:29 +0200 Subject: [PATCH 1/4] Hotfix 0.0.3-1-alpha FPU accuracy decrease because compilers flags were not getting propagated --- src/frontend/CMakeLists.txt | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/src/frontend/CMakeLists.txt b/src/frontend/CMakeLists.txt index 56676514..6794457c 100644 --- a/src/frontend/CMakeLists.txt +++ b/src/frontend/CMakeLists.txt @@ -44,6 +44,19 @@ option(RAPIDJSON_BUILD_EXAMPLES "Build rapidjson examples." OFF) option(RAPIDJSON_BUILD_TESTS "Build rapidjson perftests and unittests." OFF) option(BUILD_SHARED_LIBS OFF) +include(CheckCCompilerFlag) + +check_c_compiler_flag(-msse4.1 HAS_SSE4_1) + +if (HAS_SSE4_1) + add_compile_definitions(SIMD_SUPPORT) + add_compile_options(-msse3 -msse4.1) +endif () + +if(${CMAKE_BUILD_TYPE} MATCHES Debug) + add_compile_definitions(VULKAN_DEBUG) +endif() + add_subdirectory(../../external/discord_rpc discord_rpc) add_subdirectory(../../external/json json) add_subdirectory(../../external/fmt fmt) @@ -77,21 +90,6 @@ add_executable(kaizen-qt InputSettings.hpp InputSettings.cpp) -include(CheckCCompilerFlag) - -check_c_compiler_flag(-msse4.1 HAS_SSE4_1) - -if (HAS_SSE4_1) - target_compile_definitions(kaizen-qt PUBLIC SIMD_SUPPORT) - target_compile_options(kaizen-qt PUBLIC -msse3 -msse4.1) -endif () - -if(${CMAKE_BUILD_TYPE} MATCHES Debug) - target_compile_definitions(kaizen-qt PUBLIC VULKAN_DEBUG) - #target_compile_options(kaizen-qt PUBLIC -fsanitize=address -fsanitize=undefined) - #target_link_options(kaizen-qt PUBLIC -fsanitize=address -fsanitize=undefined) -endif() - target_link_libraries(kaizen-qt PUBLIC Qt6::Core Qt6::Gui Qt6::Widgets discord-rpc fmt mio nlohmann_json parallel-rdp backend) target_compile_definitions(kaizen-qt PUBLIC SDL_MAIN_HANDLED) From f3dc73bca36d701da843551649945c4971023d41 Mon Sep 17 00:00:00 2001 From: Simone <91993281+SimoneN64@users.noreply.github.com> Date: Thu, 2 Jan 2025 14:29:29 +0100 Subject: [PATCH 2/4] Reintroduce Window link in README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c4dd368d..798a570c 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Rewrite of my Nintendo 64 emulator "[shibumi](https://github.com/SimoneN64/shibu | Release | |--------------------------------------------------------------------------------------------| | [ Linux ](https://nightly.link/SimoneN64/Kaizen/workflows/build/master/kaizen-linux.zip) | +| [ Windows ](https://nightly.link/SimoneN64/Kaizen/workflows/build/master/kaizen-windows.zip) | ## Socials We have a [Discord server](https://discord.gg/htzNd2rRF6) From 975e3c180a8184a022371392ed553f578eb40e22 Mon Sep 17 00:00:00 2001 From: Simone <91993281+SimoneN64@users.noreply.github.com> Date: Thu, 2 Jan 2025 14:29:29 +0100 Subject: [PATCH 3/4] Reintroduce Window link in README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c4dd368d..798a570c 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Rewrite of my Nintendo 64 emulator "[shibumi](https://github.com/SimoneN64/shibu | Release | |--------------------------------------------------------------------------------------------| | [ Linux ](https://nightly.link/SimoneN64/Kaizen/workflows/build/master/kaizen-linux.zip) | +| [ Windows ](https://nightly.link/SimoneN64/Kaizen/workflows/build/master/kaizen-windows.zip) | ## Socials We have a [Discord server](https://discord.gg/htzNd2rRF6) From 1a63da320badd64640857bd5409336167fd5dd67 Mon Sep 17 00:00:00 2001 From: Simone <91993281+SimoneN64@users.noreply.github.com> Date: Fri, 3 Jan 2025 09:06:11 +0100 Subject: [PATCH 4/4] [Readme] Windows support check --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 798a570c..5977398d 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Your GPU needs to support Vulkan 1.1+, because the RDP is implemented via [ParaL - [ ] TAS tools: TAS input, recording (using Mupen's format), save-states, rewind and frame-advance - [ ] Cheat support - [ ] Allow to optionally pass a PIF image for the boot process (it's HLE'd at the moment) -- [ ] Windows support when it stops being a pain in the rectum. +- [x] Windows support This list will probably grow with time!