diff code_part1/OSTC_code_asm_part1/divemode.asm @ 254:8f20e8948b97

working word-around for nofly issue
author heinrichsweikamp
date Fri, 08 Apr 2011 11:58:55 +0200
parents 3a4096f32526
children d8dfbc7041b0
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm	Sun Apr 03 11:46:06 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/divemode.asm	Fri Apr 08 11:58:55 2011 +0200
@@ -1049,6 +1049,7 @@
 	ostc_debug	'G'		; Sends debug-information to screen if debugmode active
 	call	deco_calc_desaturation_time ; calculate desaturation time
 	movlb	b'00000001'                 ; select ram bank 1
+call	calc_deko_surfmode			; work-around for nofly bug
 	rcall	calculate_noflytime         ; Calc NoFly time
 	ostc_debug	'H'                     ; Sends debug-information to screen if debugmode active
 										; store header and ...