early-access version 2271

This commit is contained in:
pineappleEA 2021-12-04 19:50:29 +01:00
parent 36b7eaf688
commit 5e2c9abe5f
3 changed files with 7 additions and 6 deletions

View File

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 2266. This is the source code for early-access 2271.
## Legal Notice ## Legal Notice

View File

@ -36,6 +36,7 @@ if (MSVC)
add_compile_options( add_compile_options(
/MP /MP
/Zi /Zi
/Zf
/Zo /Zo
/permissive- /permissive-
/EHsc /EHsc
@ -79,7 +80,7 @@ if (MSVC)
add_compile_options("$<$<CONFIG:Release>:/GS->") add_compile_options("$<$<CONFIG:Release>:/GS->")
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "/DEBUG /MANIFEST:NO" CACHE STRING "" FORCE) set(CMAKE_EXE_LINKER_FLAGS_DEBUG "/DEBUG /MANIFEST:NO" CACHE STRING "" FORCE)
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE) set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE)
else() else()
add_compile_options( add_compile_options(
-Wall -Wall

View File

@ -32,14 +32,14 @@ assert_noinline_call(const Fn& fn) {
#define ASSERT(_a_) \ #define ASSERT(_a_) \
do \ do \
if (!(_a_)) { \ if (!(_a_)) [[unlikely]] { \
assert_noinline_call([] { LOG_CRITICAL(Debug, "Assertion Failed!"); }); \ assert_noinline_call([] { LOG_CRITICAL(Debug, "Assertion Failed!"); }); \
} \ } \
while (0) while (0)
#define ASSERT_MSG(_a_, ...) \ #define ASSERT_MSG(_a_, ...) \
do \ do \
if (!(_a_)) { \ if (!(_a_)) [[unlikely]] { \
assert_noinline_call([&] { LOG_CRITICAL(Debug, "Assertion Failed!\n" __VA_ARGS__); }); \ assert_noinline_call([&] { LOG_CRITICAL(Debug, "Assertion Failed!\n" __VA_ARGS__); }); \
} \ } \
while (0) while (0)
@ -70,7 +70,7 @@ assert_noinline_call(const Fn& fn) {
#define ASSERT_OR_EXECUTE(_a_, _b_) \ #define ASSERT_OR_EXECUTE(_a_, _b_) \
do { \ do { \
ASSERT(_a_); \ ASSERT(_a_); \
if (!(_a_)) { \ if (!(_a_)) [[unlikely]] { \
_b_ \ _b_ \
} \ } \
} while (0) } while (0)
@ -79,7 +79,7 @@ assert_noinline_call(const Fn& fn) {
#define ASSERT_OR_EXECUTE_MSG(_a_, _b_, ...) \ #define ASSERT_OR_EXECUTE_MSG(_a_, _b_, ...) \
do { \ do { \
ASSERT_MSG(_a_, __VA_ARGS__); \ ASSERT_MSG(_a_, __VA_ARGS__); \
if (!(_a_)) { \ if (!(_a_)) [[unlikely]] { \
_b_ \ _b_ \
} \ } \
} while (0) } while (0)