mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-01-13 03:30:28 +00:00
Minor fix for initial break_tag in repeat statement. Loadable module
return value fixes.
This commit is contained in:
parent
508a2c84fb
commit
da0c23e35a
5
Platform/Apple/tools/PLASMA/src/cmd.pla
Normal file → Executable file
5
Platform/Apple/tools/PLASMA/src/cmd.pla
Normal file → Executable file
@ -1075,6 +1075,9 @@ def loadmod(mod)
|
||||
else
|
||||
modend = init - defofst + defaddr
|
||||
fin
|
||||
if fixup < 0
|
||||
perr = -fixup
|
||||
fin
|
||||
else
|
||||
fixup = fixup & ~modinitkeep
|
||||
fin
|
||||
@ -1264,7 +1267,7 @@ def execmod(modfile)
|
||||
^lastsym = 0
|
||||
systemflags = saveflags
|
||||
fin
|
||||
return perr
|
||||
return -perr
|
||||
end
|
||||
//
|
||||
// Get heap start.
|
||||
|
@ -14,7 +14,7 @@ static int locals = 0;
|
||||
static int predefs = 0;
|
||||
static int defs = 0;
|
||||
static int asmdefs = 0;
|
||||
static int codetags = 0;
|
||||
static int codetags = 1; // Fix check for break_tag and cont_tag
|
||||
static int fixups = 0;
|
||||
static char idconst_name[1024][17];
|
||||
static int idconst_value[1024];
|
||||
|
Loading…
x
Reference in New Issue
Block a user