fix std + bigobj

This commit is contained in:
lizzie 2026-03-18 05:57:36 +00:00
parent a708c4def8
commit a7ec8c81f4
2 changed files with 6 additions and 1 deletions

View file

@ -143,7 +143,7 @@ static std::pair<u64, u64> WeakHashLen32WithSeeds(u64 w, u64 x, u64 y, u64 z, u6
a += x;
a += y;
b += Rotate(a, 44);
return make_pair(a + z, b + c);
return std::make_pair(a + z, b + c);
}
// Return a 16-byte hash for s[0] ... s[31], a, and b. Quick and dirty.

View file

@ -457,6 +457,11 @@ if (NOT MSVC AND (APPLE OR NOT YUZU_STATIC_BUILD))
-Wno-missing-field-initializers)
endif()
# Unity builds need big objects for MSVC...
if(MSVC AND ENABLE_UNITY_BUILD)
target_compile_options(yuzu /bigobj)
endif()
# Remember that the linker is incredibly stupid.
target_link_libraries(yuzu PRIVATE OpenSSL::SSL OpenSSL::Crypto SDL2::SDL2)