Mercurial > repos > blastem
diff sega_mapper.c @ 2500:d44fe974fb85
Get blastem compiling with new 68K core
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 30 Apr 2024 22:32:08 -0700 |
parents | d74d3998482c |
children |
line wrap: on
line diff
--- a/sega_mapper.c Tue Apr 30 00:02:14 2024 -0700 +++ b/sega_mapper.c Tue Apr 30 22:32:08 2024 -0700 @@ -280,7 +280,11 @@ //ensure USB serial read returns "not-ready" status return 0x02; default: +#ifdef NEW_CORE + return context->prefetch; +#else return read_word(context->last_prefetch_address, (void **)context->mem_pointers, &context->opts->gen, context); +#endif } }