diff multi_game.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 adb62000d296
children
line wrap: on
line diff
--- a/multi_game.c	Mon Apr 29 22:57:49 2024 -0700
+++ b/multi_game.c	Tue Apr 30 00:02:14 2024 -0700
@@ -7,12 +7,12 @@
 	gen->bank_regs[0] = address;
 	uint32_t base = (address & 0x3F) << 16, start = 0, end = 0x400000;
 	//find the memmap chunk, so we can properly mask the base value
-	for (int i = 0; i < context->options->gen.memmap_chunks; i++)
+	for (int i = 0; i < context->opts->gen.memmap_chunks; i++)
 	{
-		if (context->options->gen.memmap[i].flags & MMAP_PTR_IDX) {
-			base &= context->options->gen.memmap[i].mask;
-			start = context->options->gen.memmap[i].start;
-			end = context->options->gen.memmap[i].end;
+		if (context->opts->gen.memmap[i].flags & MMAP_PTR_IDX) {
+			base &= context->opts->gen.memmap[i].mask;
+			start = context->opts->gen.memmap[i].start;
+			end = context->opts->gen.memmap[i].end;
 			break;
 		}
 	}