diff options
author | Michael Pavone <pavone@retrodev.com> | 2018-01-31 22:05:10 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2018-01-31 22:05:10 -0800 |
commit | c2653ab569c2a0139089db6586f1213884b03b2c (patch) | |
tree | 256e5c28b18ebc394c19cff6bc2768259b8f7379 /romdb.h | |
parent | aeb32eebf529a82a624f2c88f51a7706aad0bcc5 (diff) |
Made the NOR flash emulation a bit more flexible, but not yet flexible enough to properly support the flash chip in the MegaWiFi cart
Diffstat (limited to 'romdb.h')
-rw-r--r-- | romdb.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |