changeset 9:2401a0c72921

Fixed level backgrounds on game load Fixed background calculation for the level on a freshly loaded game. Odd levels should have a white background.
author William Astle <lost@l-w.ca>
date Mon, 29 Dec 2014 13:19:17 -0700
parents e0485bef3f30
children 22fa8fa12802
files dod.s
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dod.s	Sun Dec 28 22:23:23 2014 -0700
+++ b/dod.s	Mon Dec 29 13:19:17 2014 -0700
@@ -5012,6 +5012,7 @@
 		blo load_game018		; brif not
 		jsr file_close			; close the disk file
 		lbne load_gameerr		; brif error closing (writing buffer failed)
+		jsr LC7B6			; set up backgrounds correctly
 		clra				; clear carry for success
 		puls d,x,y,u,pc			; restore registers and return
 load_readsched	ldd #schedtab			; set the bias for the read