Added a new special reg_t, SIGNAL_REG, for signaling when an error occurs (usually), or to signal success in some special occasions
svn-id: r44505
This commit is contained in:
parent
96a40e7712
commit
30084d72a5
8 changed files with 14 additions and 12 deletions
|
@ -60,7 +60,7 @@ reg_t kGameIsRestarting(EngineState *s, int argc, reg_t *argv) {
|
|||
}
|
||||
|
||||
reg_t kHaveMouse(EngineState *s, int argc, reg_t *argv) {
|
||||
return make_reg(0, SIGNAL_OFFSET);
|
||||
return SIGNAL_REG;
|
||||
}
|
||||
|
||||
enum kMemoryInfoFunc {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue