Previous 15994 Revisions Next

r1032 Tuesday 25th September, 2007 at 17:43:18 UTC by Wilbert Pol
[GAMEBOY] Corrected calculation of DIV count.
[src/mess/machine]gb.c

src/mess/machine/gb.c
r1031r1032
12441244   switch(offset)
12451245   {
12461246      case 0x04:
1247         return ( gb_divcount >> 8 ) & 0xFF;
1247         return ( ( gb_divcount + 9 ) >> 8 ) & 0xFF;
12481248      case 0x00:
12491249      case 0x01:
12501250      case 0x02:

Previous 15994 Revisions Next


© 1998-2018 The MESS Team