CPU: Fix incorrect exception vector for break

This commit is contained in:
Connor McLaughlin
2019-09-15 12:43:54 +10:00
parent 5babc076f5
commit 540f282213
3 changed files with 27 additions and 9 deletions

View File

@ -69,7 +69,10 @@ private:
void ExecuteInstruction(Instruction inst);
void ExecuteCop0Instruction(Instruction inst);
void Branch(u32 target);
void RaiseException(Exception excode);
// exceptions
u32 GetExceptionVector(Exception excode) const;
void RaiseException(Exception excode, u8 coprocessor = 0);
// flushes any load delays if present
void FlushLoadDelay();