Full savestating to memory

This commit is contained in:
2025-05-23 15:49:26 -06:00
parent e9d5b359d0
commit b86d550812
23 changed files with 378 additions and 56 deletions

View File

@ -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))