map: Fixed map load corrupting video memory
authorLukas Krickl <lukas@krickl.dev>
Sat, 5 Jul 2025 18:57:27 +0000 (20:57 +0200)
committerLukas Krickl <lukas@krickl.dev>
Sat, 5 Jul 2025 18:57:27 +0000 (20:57 +0200)
commit553c393df17ae41efb9651de93d8235cf3cccac2
tree71da8bd08a5b1ee7d42e5ac2ddb56d5bc82a66e2
parent6bb9335dda8080c87c6b6808db16341834b86b59
map: Fixed map load corrupting video memory

Map loads now always disable interrupts and the lcd.

In the future maybe we should only disable lcd if we are swapping out
 tilesets.
During a map load it would probably be enough to wait for blank
for each row of tiles loaded.
src/main.s
src/map.s