[hatari-devel] Mudflap testing and minor bugs in opcode pairing & spec512 drawing
npomarede at corp.free.fr
npomarede at corp.free.fr
Sun Apr 4 22:28:51 CEST 2010
On Sun, 4 Apr 2010, Eero Tamminen wrote:
> Hi,
>
> After spending quite a bit of time in getting GCC mudflap stuff working
> nicely[1] and analyzing the results, I found only two minor bugs (in other
> than sound related things).
>
>
> First bug is in opcode pairing.
>
> The previous index to opcode array is initialized to -1 in m68000.c which
> obviously is out of bounds on first use in CPU emulation in m68000.h:
> -------
> static inline void M68000_AddCyclesWithPairing(int cycles)
> {
> ...
> if ( ( PairingArray[ LastOpcodeFamily ][ OpcodeFamily ] == 1 )
> -------
>
> I would suggest fixing it with the attach patch.
Hi,
thanks for the hint, I will commit a fix for this (I have another change
to the pairing code to commit too, I will merge both patches)
Nicolas
More information about the hatari-devel
mailing list