Browse Source

[core] fix msvc comp (#2567)

Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2567
pull/2568/head
crueter 3 months ago
parent
commit
2482846cf6
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 2
      src/core/hle/service/acc/acc.cpp
  2. 6
      src/dynarmic/CMakeLists.txt

2
src/core/hle/service/acc/acc.cpp

@ -694,7 +694,7 @@ private:
LOG_WARNING(Service_ACC, "(STUBBED) called"); LOG_WARNING(Service_ACC, "(STUBBED) called");
std::vector<u8> token_data(0x100); std::vector<u8> token_data(0x100);
std::fill(token_data.begin(), token_data.end(), 0);
std::fill(token_data.begin(), token_data.end(), u8(0));
ctx.WriteBuffer(token_data, 0); ctx.WriteBuffer(token_data, 0);

6
src/dynarmic/CMakeLists.txt

@ -18,11 +18,7 @@ endif()
# Dynarmic project options # Dynarmic project options
option(DYNARMIC_ENABLE_CPU_FEATURE_DETECTION "Turning this off causes dynarmic to assume the host CPU doesn't support anything later than SSE3" ON) option(DYNARMIC_ENABLE_CPU_FEATURE_DETECTION "Turning this off causes dynarmic to assume the host CPU doesn't support anything later than SSE3" ON)
if (PLATFORM_OPENBSD)
option(DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT "Enables support for systems that require W^X" ON)
else()
option(DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT "Enables support for systems that require W^X" OFF)
endif()
option(DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT "Enables support for systems that require W^X" ${PLATFORM_OPENBSD})
option(DYNARMIC_FATAL_ERRORS "Errors are fatal" OFF) option(DYNARMIC_FATAL_ERRORS "Errors are fatal" OFF)
option(DYNARMIC_IGNORE_ASSERTS "Ignore asserts" OFF) option(DYNARMIC_IGNORE_ASSERTS "Ignore asserts" OFF)

Loading…
Cancel
Save