From 8546123585363a5f747bd58c21e67afc84841384 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Fri, 25 Jul 2025 16:37:56 +0200 Subject: [PATCH] banking: Fixed banking --- src/defs.s | 2 +- src/main.s | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/defs.s b/src/defs.s index cddca50..0ff9dc1 100644 --- a/src/defs.s +++ b/src/defs.s @@ -256,7 +256,7 @@ ; the seed to use for this map ; read from [map_seeds] .de map_seed_index, 1 - +.se map_header_size, 0 ; map actor table struct .se 0 diff --git a/src/main.s b/src/main.s index ba05eb5..14b36b3 100644 --- a/src/main.s +++ b/src/main.s @@ -60,6 +60,8 @@ main: #include "ui.s" #include "audio.s" #include "map.s" + + #include "roompatterns.s" #include "mapgen.s" #include "state.s" @@ -73,5 +75,9 @@ main: #include "demos.s" #include "mainmenu.s" +; fill bank +.fill 0xFF, 0x4000 - $ + ; fill bank .fill 0xFF, 0x7FFF - $ + -- 2.30.2