Mercurial > repos > blastem
diff gdb_remote.c @ 2499:d74d3998482c
Make some progress on compiling full emulator with new 68K core
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 30 Apr 2024 00:02:14 -0700 |
parents | 8445e814d495 |
children | d44fe974fb85 |
line wrap: on
line diff
--- a/gdb_remote.c Mon Apr 29 22:57:49 2024 -0700 +++ b/gdb_remote.c Tue Apr 30 00:02:14 2024 -0700 @@ -128,14 +128,14 @@ static uint8_t m68k_read_byte(m68k_context *context, uint32_t address) { //TODO: share this implementation with builtin debugger - return read_byte(address, (void **)context->mem_pointers, &context->options->gen, context); + return read_byte(address, (void **)context->mem_pointers, &context->opts->gen, context); } void m68k_write_byte(m68k_context * context, uint32_t address, uint8_t value) { genesis_context *gen = context->system; //TODO: Use generated read/write functions so that memory map is properly respected - uint16_t * word = get_native_pointer(address & 0xFFFFFFFE, (void **)context->mem_pointers, &context->options->gen); + uint16_t * word = get_native_pointer(address & 0xFFFFFFFE, (void **)context->mem_pointers, &context->opts->gen); if (word) { if (address & 1) { *word = (*word & 0xFF00) | value;