summaryrefslogtreecommitdiff
path: root/jaguar.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-10-08 23:49:20 -0700
committerMichael Pavone <pavone@retrodev.com>2016-10-08 23:49:20 -0700
commitd8ac99946d19321cbe191747ac98bd481a6cdea6 (patch)
tree85755945a8cd2e5156adc3953c89f6634bbe3848 /jaguar.c
parent3bda38c2547f87a25635a886604e8b597bae5491 (diff)
Basic handling of video/object processor register writes
Diffstat (limited to 'jaguar.c')
-rw-r--r--jaguar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/jaguar.c b/jaguar.c
index 811db86..76ba875 100644
--- a/jaguar.c
+++ b/jaguar.c
@@ -87,7 +87,7 @@ void rom0_write_16(uint32_t address, jaguar_context *system, uint16_t value)
mem_pointers[rom + 1] = system->cart + ((0x200000 & (system->cart_size-1)) >> 1);
mem_pointers[rom + 2] = system->cart + ((0x400000 & (system->cart_size-1)) >> 1);
system->memcon_written = 1;
- printf("MEMCON1 write - ROMHI: %d", value & 1);
+ printf("MEMCON1 write - ROMHI: %d\n", value & 1);
//TODO: invalidate code cache
}
system->memcon1 = value;
@@ -96,7 +96,7 @@ void rom0_write_16(uint32_t address, jaguar_context *system, uint16_t value)
system->memcon2 = value;
break;
default:
- fprintf(stderr, "Unhandled write to video mode/memory control registers - %X:%X\n", address, value);
+ jag_video_reg_write(system->video, address, value);
break;
}
} else if (address < 0x100800) {