Making sure code is in executable sections Round 4. Fixed a very weird section change mid macro in video code - perhaps fixed CT Black Omen bug.

This commit is contained in:
n-a-c-h
2005-07-10 14:19:28 +00:00
parent 7329f7d798
commit e03454b33b
13 changed files with 53 additions and 58 deletions

View File

@@ -275,6 +275,8 @@ EXTSYM vidbright,prevbrightdc,Gendcolortable,mode7ab,mode7cd,BGMA,BG1SXl,BG1SYl
add esi,2
%endmacro
SECTION .text
NEWSYM drawmode7win16b
test byte[scrndis],1
jz .notdisabled