Mercurial > repos > blastem
comparison blastem.h @ 971:e28f365605da
Move mouse mode and capture state to emulation context so it persists properly when switching between the menu and the game
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 21 Apr 2016 22:08:26 -0700 |
parents | 750995b587a0 |
children | 902c53d9c16f |
comparison
equal
deleted
inserted
replaced
970:e2d7067ea2d8 | 971:e28f365605da |
---|---|
47 uint8_t save_type; | 47 uint8_t save_type; |
48 io_port ports[3]; | 48 io_port ports[3]; |
49 uint8_t bus_busy; | 49 uint8_t bus_busy; |
50 uint8_t should_exit; | 50 uint8_t should_exit; |
51 uint8_t save_state; | 51 uint8_t save_state; |
52 uint8_t mouse_mode; | |
53 uint8_t mouse_captured; | |
52 eeprom_state eeprom; | 54 eeprom_state eeprom; |
53 }; | 55 }; |
54 | 56 |
55 extern genesis_context * genesis; | 57 extern genesis_context * genesis; |
56 extern int headless; | 58 extern int headless; |