Minor decoder optimizations, kernel fixes, cpu backend fixes
This commit is contained in:
@@ -209,7 +209,16 @@ bool Win32X64CodeCache::Initialize() {
|
||||
|
||||
Win32X64CodeCache::UnwindReservation
|
||||
Win32X64CodeCache::RequestUnwindReservation(uint8_t* entry_address) {
|
||||
#if defined(NDEBUG)
|
||||
if (unwind_table_count_ >= kMaximumFunctionCount) {
|
||||
// we should not just be ignoring this in release if it happens
|
||||
xe::FatalError(
|
||||
"Unwind table count (unwind_table_count_) exceeded maximum! Please report this to "
|
||||
"Xenia/Canary developers");
|
||||
}
|
||||
#else
|
||||
assert_false(unwind_table_count_ >= kMaximumFunctionCount);
|
||||
#endif
|
||||
UnwindReservation unwind_reservation;
|
||||
unwind_reservation.data_size = xe::round_up(kUnwindInfoSize, 16);
|
||||
unwind_reservation.table_slot = unwind_table_count_++;
|
||||
|
||||
Reference in New Issue
Block a user