comparison src/gb/GB.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 d7c38ce83421
children 4c60ebca1a9d
comparison
equal deleted inserted replaced
91:613353b7e012 92:1ff2c546f5ad
20 } B; 20 } B;
21 u16 W; 21 u16 W;
22 } gbRegister; 22 } gbRegister;
23 23
24 extern bool gbLoadRom(const char *); 24 extern bool gbLoadRom(const char *);
25 extern void gbEmulate(int); 25 extern int gbEmulate(int);
26 extern bool gbIsGameboyRom(const char *); 26 extern bool gbIsGameboyRom(const char *);
27 extern void gbSoundReset(); 27 extern void gbSoundReset();
28 extern void gbSoundSetQuality(int); 28 extern void gbSoundSetQuality(int);
29 extern void gbReset(bool userReset = false); 29 extern void gbReset(bool userReset = false);
30 extern void gbCleanUp(); 30 extern void gbCleanUp();