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:
@@ -20,6 +20,8 @@
|
||||
|
||||
; Tools for the GUI (string functions are also used elsewhere)
|
||||
|
||||
SECTION .text
|
||||
|
||||
NEWSYM CopyString
|
||||
push eax
|
||||
.again
|
||||
|
||||
@@ -56,6 +56,8 @@ EXTSYM Grab_PNG_Data
|
||||
popad
|
||||
%endmacro
|
||||
|
||||
SECTION .text
|
||||
|
||||
GUIBufferData:
|
||||
mov ecx,16384
|
||||
cmp byte[cbitmode],1
|
||||
@@ -1144,7 +1146,7 @@ SECTION .bss
|
||||
|
||||
NEWSYM picnum, resw 1
|
||||
|
||||
SECTION .data
|
||||
SECTION .text
|
||||
|
||||
NEWSYM savepcx
|
||||
%ifndef NO_PNG
|
||||
|
||||
Reference in New Issue
Block a user