| 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 |
| r10137 | r10138 | |
|---|---|---|
| 850 | 850 | // update times for |
| 851 | 851 | if (state->timer_regs[timer] & 0x800000) |
| 852 | 852 | { |
| 853 | if (state->timer_regs[timer] & 0x00040000) | |
| 854 | { | |
| 855 | elapsed = state->timer_regs[timer] & 0xffff; | |
| 856 | } | |
| 857 | else | |
| 858 | { | |
| 859 | ||
| 853 | 860 | time = attotime_to_double(timer_timeelapsed(state->tmr_timer[timer])); |
| 854 | 861 | |
| 855 | 862 | ticks = (double)(0x10000 - (state->timer_regs[timer] & 0xffff)); |
| r10137 | r10138 | |
| 860 | 867 | time /= (1.0 / state->timer_hz[timer]); |
| 861 | 868 | |
| 862 | 869 | elapsed = (UINT32)time; |
| 870 | ||
| 871 | } | |
| 863 | 872 | |
| 864 | 873 | // printf("elapsed = %x\n", elapsed); |
| 865 | 874 | } |
| r10137 | r10138 | |
|---|---|---|
| 29 | 29 | - [GBA] Fixed an ARM7 carry flag bug. This fixes the palette corruption |
| 30 | 30 | in "Banjo-Kazooie". [Tim Schuerewegen] |
| 31 | 31 | |
| 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] | |
| 34 | 35 | |
| 35 | 36 | - [PIPPIN] Added pre release rom |
| 36 | 37 |
| Previous | 15994 Revisions | Next |