Previous 15994 Revisions Next

r10138 Saturday 22nd January, 2011 at 20:11:43 UTC by Tim Schuerewegen
[GBA] Fixed another timer bug. This fixes the lockups in "Aggressive Inline", "Bibi und Tina" and "Bibi Blocksberg".
[docs]messnew.txt
[src/mess/drivers]gba.c

src/mess/drivers/gba.c
r10137r10138
850850            // update times for
851851            if (state->timer_regs[timer] & 0x800000)
852852            {
853               if (state->timer_regs[timer] & 0x00040000)
854               {
855                  elapsed = state->timer_regs[timer] & 0xffff;
856               }
857               else
858               {
859
853860               time = attotime_to_double(timer_timeelapsed(state->tmr_timer[timer]));
854861
855862               ticks = (double)(0x10000 - (state->timer_regs[timer] & 0xffff));
r10137r10138
860867               time /= (1.0 / state->timer_hz[timer]);
861868
862869               elapsed = (UINT32)time;
870               
871               }
863872
864873//                  printf("elapsed = %x\n", elapsed);
865874            }
docs/messnew.txt
r10137r10138
2929- [GBA] Fixed an ARM7 carry flag bug. This fixes the palette corruption
3030  in "Banjo-Kazooie". [Tim Schuerewegen]
3131
32- [GBA] Fixed timer overflow/reload bug. This fixes the lockup in
33  "2 in 1 - Dragon Ball Z 1 and 2". [Tim Schuerewegen]
32- [GBA] Fixed timer overflow/reload bugs. This fixes the lockups in
33  "2 in 1 - Dragon Ball Z 1 and 2", "Aggressive Inline", "Bibi und Tina"
34  and probably other games too. [Tim Schuerewegen]
3435
3536- [PIPPIN] Added pre release rom
3637

Previous 15994 Revisions Next


© 1998-2018 The MESS Team