diff src/gba/GBA.cpp @ 92:1ff2c546f5ad

added tick(), which allows one to step through each opcode of gameboy
author Robert McIntyre <rlm@mit.edu>
date Sun, 11 Mar 2012 19:07:31 -0500
parents f9f4f1b99eed
children
line wrap: on
line diff
     1.1 --- a/src/gba/GBA.cpp	Sun Mar 11 13:53:27 2012 -0500
     1.2 +++ b/src/gba/GBA.cpp	Sun Mar 11 19:07:31 2012 -0500
     1.3 @@ -3746,7 +3746,7 @@
     1.4  extern void winlog(const char *, ...);
     1.5  #endif
     1.6  
     1.7 -void CPULoop(int _ticks)
     1.8 +void CPULoop2(int _ticks)
     1.9  {
    1.10  	int32 ticks = _ticks;
    1.11  	int32 clockTicks;
    1.12 @@ -4501,6 +4501,14 @@
    1.13  	}
    1.14  }
    1.15  
    1.16 +
    1.17 +// RLM: 
    1.18 +int CPULoop(int _ticks){
    1.19 +  CPULoop2(_ticks);
    1.20 +  return 1;
    1.21 +}
    1.22 +
    1.23 +
    1.24  struct EmulatedSystem GBASystem =
    1.25  {
    1.26  	// emuMain