summaryrefslogtreecommitdiff
path: root/blastem.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-04-21 22:08:26 -0700
committerMichael Pavone <pavone@retrodev.com>2016-04-21 22:08:26 -0700
commitd5c369a7c040e96e2067ebda45d9e1b9ad018e63 (patch)
tree815e28c01fd1ca72fabc06ea45811a7be3287ab2 /blastem.h
parent19fe07ac64063803e053a111c3a6b5f47bb3cffe (diff)
Move mouse mode and capture state to emulation context so it persists properly when switching between the menu and the game
Diffstat (limited to 'blastem.h')
-rw-r--r--blastem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/blastem.h b/blastem.h
index ea9e86a..70c5134 100644
--- a/blastem.h
+++ b/blastem.h
@@ -49,6 +49,8 @@ struct genesis_context {
uint8_t bus_busy;
uint8_t should_exit;
uint8_t save_state;
+ uint8_t mouse_mode;
+ uint8_t mouse_captured;
eeprom_state eeprom;
};