Make instruction cycles same as GDB_STUB build (decreased all instruction cycles by 1)

This commit is contained in:
gocha 2009-09-04 22:31:59 +00:00
parent b2289368a3
commit bec8aa50de
1 changed files with 2 additions and 2 deletions

View File

@ -497,7 +497,7 @@ armcpu_flagIrq( armcpu_t *armcpu) {
template<int PROCNUM>
u32 armcpu_exec()
{
u32 c = 1;
u32 c = 0;
//this assert is annoying. but sometimes it is handy.
//assert(ARMPROC.instruct_adr!=0x00000000);
@ -511,7 +511,7 @@ u32 armcpu_exec()
armcpu_irqException( &ARMPROC);
}
c = armcpu_prefetch(&ARMPROC);
c += armcpu_prefetch(&ARMPROC);
if ( ARMPROC.stalled) {
return c;