From c2653ab569c2a0139089db6586f1213884b03b2c Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 31 Jan 2018 22:05:10 -0800 Subject: Made the NOR flash emulation a bit more flexible, but not yet flexible enough to properly support the flash chip in the MegaWiFi cart --- romdb.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'romdb.h') diff --git a/romdb.h b/romdb.h index caf4e89..fa38b84 100644 --- a/romdb.h +++ b/romdb.h @@ -31,6 +31,8 @@ typedef struct { uint32_t page_size; uint32_t current_page; uint32_t last_write_cycle; + uint32_t cmd_address1; + uint32_t cmd_address2; uint16_t product_id; uint8_t mode; uint8_t cmd_state; @@ -61,13 +63,12 @@ struct rom_info { char *port2_override; char *ext_override; char *mouse_mode; + nor_state *nor; uint32_t num_eeprom; uint32_t map_chunks; uint32_t rom_size; uint32_t save_size; uint32_t save_mask; - uint32_t save_page_size; - uint16_t save_product_id; uint16_t mapper_start_index; uint8_t save_type; uint8_t save_bus; //only used for NOR currently -- cgit v1.2.3