-Added proper logging for unimplemented bios functions. This should help when debugging non-working games.

This commit is contained in:
cyberwarriorx 2006-11-16 17:14:40 +00:00
parent 72c9d4bef3
commit 428f85bfac
1 changed files with 8 additions and 3 deletions

View File

@ -176,9 +176,14 @@ static u8 getvoltbl[] = {
u32 bios_nop(armcpu_t * cpu) u32 bios_nop(armcpu_t * cpu)
{ {
//sprintf(biostxt, "PROC %d, SWI PO IMPLEMENTE %08X R0:%08X", cpu->proc_ID, (cpu->instruction)&0x1F, cpu->R[0]); if (cpu->proc_ID == ARMCPU_ARM9)
//execute = FALSE; {
//log::ajouter(biostxt); LOG("Unimplemented bios function %02X(ARM9) was used. R0:%08X\n", (cpu->instruction)&0x1F, cpu->R[0]);
}
else
{
LOG("Unimplemented bios function %02X(ARM7) was used. R0:%08X\n", (cpu->instruction)&0x1F, cpu->R[0]);
}
return 3; return 3;
} }