Mercurial > vba-clojure
comparison 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 |
comparison
equal
deleted
inserted
replaced
91:613353b7e012 | 92:1ff2c546f5ad |
---|---|
11 // c++ lacks a way to implement Smart Referrences or Delphi-Style Properties | 11 // c++ lacks a way to implement Smart Referrences or Delphi-Style Properties |
12 // in order to maintain consistency, value-copied things should not be modified too often | 12 // in order to maintain consistency, value-copied things should not be modified too often |
13 struct EmulatedSystem | 13 struct EmulatedSystem |
14 { | 14 { |
15 // main emulation function | 15 // main emulation function |
16 void (*emuMain)(int); | 16 int (*emuMain)(int); |
17 // reset emulator | 17 // reset emulator |
18 void (*emuReset)(bool); | 18 void (*emuReset)(bool); |
19 // clean up memory | 19 // clean up memory |
20 void (*emuCleanUp)(); | 20 void (*emuCleanUp)(); |
21 // load battery file | 21 // load battery file |