diff src/common/System.h @ 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/common/System.h	Sun Mar 11 13:53:27 2012 -0500
     1.2 +++ b/src/common/System.h	Sun Mar 11 19:07:31 2012 -0500
     1.3 @@ -13,7 +13,7 @@
     1.4  struct EmulatedSystem
     1.5  {
     1.6  	// main emulation function
     1.7 -	void (*emuMain)(int);
     1.8 +	int (*emuMain)(int);
     1.9  	// reset emulator
    1.10  	void (*emuReset)(bool);
    1.11  	// clean up memory