diff src/gb/GB.cpp @ 39:3e36553d0cbf

got some speedruns to work!
author Robert McIntyre <rlm@mit.edu>
date Mon, 05 Mar 2012 16:37:38 -0600
parents 44974c3e093b
children
line wrap: on
line diff
     1.1 --- a/src/gb/GB.cpp	Mon Mar 05 15:06:22 2012 -0600
     1.2 +++ b/src/gb/GB.cpp	Mon Mar 05 16:37:38 2012 -0600
     1.3 @@ -3153,7 +3153,7 @@
     1.4  
     1.5  void gbEmulate(int ticksToStop)
     1.6  {
     1.7 -  printf("RLM: Inside the GB!\n");
     1.8 +  //printf("RLM: Inside the GB!\n");
     1.9    gbRegister tempRegister;
    1.10    u8		   tempValue;
    1.11    s8		   offset;
    1.12 @@ -3164,12 +3164,12 @@
    1.13    register int opcode = 0;
    1.14  
    1.15    u32 newmask = 0;
    1.16 -  printf("RLM: newframe = %d\n", newFrame);
    1.17 +  //printf("RLM: newframe = %d\n", newFrame);
    1.18    if (newFrame)
    1.19      {
    1.20        extern void VBAOnExitingFrameBoundary();
    1.21        VBAOnExitingFrameBoundary();
    1.22 -      printf("RLM: exiting frame boundary?\n");
    1.23 +      //printf("RLM: exiting frame boundary?\n");
    1.24        // update joystick information
    1.25        systemReadJoypads();
    1.26  
    1.27 @@ -3212,9 +3212,9 @@
    1.28        speedup	   = (extButtons & 1) != 0;
    1.29  
    1.30        VBAMovieResetIfRequested();
    1.31 -      printf("RLM: before Lua functions\n");
    1.32 +      //printf("RLM: before Lua functions\n");
    1.33        //CallRegisteredLuaFunctions(LUACALL_BEFOREEMULATION);
    1.34 -      printf("RLM: after Lua functions\n");
    1.35 +      //printf("RLM: after Lua functions\n");
    1.36        newFrame = false;
    1.37      }
    1.38