diff --git a/core/hw/sh4/modules/fastmmu.cpp b/core/hw/sh4/modules/fastmmu.cpp index a3c30b41c..6910d6f9f 100644 --- a/core/hw/sh4/modules/fastmmu.cpp +++ b/core/hw/sh4/modules/fastmmu.cpp @@ -57,7 +57,8 @@ static void cache_entry(const TLB_Entry &entry) { if (entry.Data.SZ0 == 0 && entry.Data.SZ1 == 0) return; - verify(full_table_size < ARRAY_SIZE(full_table)); + if (full_table_size >= ARRAY_SIZE(full_table)) + return; full_table[full_table_size].entry = entry;