CPU/NewRec: Fix OOB reads on InstructionInfo

This commit is contained in:
Stenzek
2023-12-04 21:21:53 +10:00
parent 4f9cdb37d9
commit 2071addce0
2 changed files with 4 additions and 2 deletions

View File

@@ -436,7 +436,7 @@ protected:
bool dirty_gte_done_cycle;
bool block_ended;
const Instruction* inst;
const CodeCache::InstructionInfo* iinfo;
CodeCache::InstructionInfo* iinfo;
u32 current_instruction_pc;
bool current_instruction_delay_slot;
std::bitset<static_cast<size_t>(Reg::count)> const_regs_valid;