Full savestating to memory
This commit is contained in:
@ -29,6 +29,13 @@ typedef enum {
|
||||
MODE_XFER
|
||||
} lcd_mode;
|
||||
|
||||
typedef struct {
|
||||
lcd_context ctx;
|
||||
} lcd_state;
|
||||
|
||||
void lcd_save_state(lcd_state*);
|
||||
void lcd_load_state(const lcd_state*);
|
||||
|
||||
lcd_context *lcd_get_context();
|
||||
|
||||
#define LCDC_BGW_ENABLE (BIT(lcd_get_context()->lcdc, 0))
|
||||
|
Reference in New Issue
Block a user