summaryrefslogtreecommitdiff
path: root/jaguar.h
diff options
context:
space:
mode:
Diffstat (limited to 'jaguar.h')
-rw-r--r--jaguar.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/jaguar.h b/jaguar.h
index a356983..23ca6c1 100644
--- a/jaguar.h
+++ b/jaguar.h
@@ -6,7 +6,7 @@
#define DSP_RAM_BYTES 8192
#include "jag_video.h"
-
+typedef struct m68k_context m68k_context;
typedef struct {
m68k_context *m68k;
jag_video *video;
@@ -16,6 +16,7 @@ typedef struct {
uint32_t cart_size;
uint32_t memcon1;
uint32_t memcon2;
+ uint32_t rom_cycles;
uint16_t write_latch;
uint8_t write_pending;
@@ -26,5 +27,8 @@ typedef struct {
uint8_t memcon_written;
} jaguar_context;
+uint64_t jag_read_phrase(jaguar_context *system, uint32_t address, uint32_t *cycles);
+uint32_t jag_write_phrase(jaguar_context *system, uint32_t address, uint64_t value);
+
#endif //JAGUAR_H_