diff jaguar.h @ 1083:f6e998227300

Byteswap ROMs in jaguar ROM loader. Handle switching memory map from writes to memcon1. Fix some typos in error messages
author Michael Pavone <pavone@retrodev.com>
date Thu, 06 Oct 2016 09:35:35 -0700
parents 382614130914
children 6433d4d05934
line wrap: on
line diff
--- a/jaguar.h	Thu Oct 06 09:34:31 2016 -0700
+++ b/jaguar.h	Thu Oct 06 09:35:35 2016 -0700
@@ -12,7 +12,8 @@
 	uint16_t     *cart;
 	uint32_t     bios_size;
 	uint32_t     cart_size;
-	uint32_t     memcon;
+	uint32_t     memcon1;
+	uint32_t     memcon2;
 	uint16_t     write_latch;
 	uint8_t      write_pending;
 	
@@ -25,6 +26,7 @@
 	uint16_t     *write_line_buffer;
 	uint16_t     *read_line_buffer;
 	
+	uint8_t      memcon_written;
 } jaguar_context;