Make instruction cycles same as GDB_STUB build (decreased all instruction cycles by 1)
This commit is contained in:
parent
b2289368a3
commit
bec8aa50de
|
@ -497,7 +497,7 @@ armcpu_flagIrq( armcpu_t *armcpu) {
|
||||||
template<int PROCNUM>
|
template<int PROCNUM>
|
||||||
u32 armcpu_exec()
|
u32 armcpu_exec()
|
||||||
{
|
{
|
||||||
u32 c = 1;
|
u32 c = 0;
|
||||||
|
|
||||||
//this assert is annoying. but sometimes it is handy.
|
//this assert is annoying. but sometimes it is handy.
|
||||||
//assert(ARMPROC.instruct_adr!=0x00000000);
|
//assert(ARMPROC.instruct_adr!=0x00000000);
|
||||||
|
@ -511,7 +511,7 @@ u32 armcpu_exec()
|
||||||
armcpu_irqException( &ARMPROC);
|
armcpu_irqException( &ARMPROC);
|
||||||
}
|
}
|
||||||
|
|
||||||
c = armcpu_prefetch(&ARMPROC);
|
c += armcpu_prefetch(&ARMPROC);
|
||||||
|
|
||||||
if ( ARMPROC.stalled) {
|
if ( ARMPROC.stalled) {
|
||||||
return c;
|
return c;
|
||||||
|
|
Loading…
Reference in New Issue