use EXCEPTION_UNDEFINED_INSTRUCTION instead of magic number 0x04

This commit is contained in:
zeromus 2011-04-20 06:26:42 +00:00
parent fb317f2717
commit 3014da89b3
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@ u32 TRAPUNDEF(armcpu_t* cpu)
if (((cpu->intVector != 0) ^ (cpu->proc_ID == ARMCPU_ARM9)))
{
armcpu_exception(&NDS_ARM9,0x04);
armcpu_exception(&NDS_ARM9,EXCEPTION_UNDEFINED_INSTRUCTION);
return 4;
}
else