From: Pokemonhacker <pok...@us...> - 2005-09-30 16:06:40
|
Update of /cvsroot/vba/VisualBoyAdvance/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24013 Modified Files: GBAinline.h Log Message: - Corrected a bug, introduced in my latests changes, in the readhalfword from timers IO Reg. Index: GBAinline.h =================================================================== RCS file: /cvsroot/vba/VisualBoyAdvance/src/GBAinline.h,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** GBAinline.h 3 Sep 2005 12:28:23 -0000 1.13 --- GBAinline.h 30 Sep 2005 16:06:32 -0000 1.14 *************** *** 208,211 **** --- 208,212 ---- if((address < 0x4000400) && ioReadable[address & 0x3fe]) { + value = READ16LE(((u16 *)&ioMem[address & 0x3fe])); if (((address & 0x3fe)>0xFF) && ((address & 0x3fe)<0x10E)) { *************** *** 222,227 **** value = 0xFFFF - ((timer3Ticks-cpuTotalTicks) >> timer3ClockReload); } - else - value = READ16LE(((u16 *)&ioMem[address & 0x3fe])); } else goto unreadable; --- 223,226 ---- |