mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-09-29 11:55:21 +00:00
Merge branch 'master' of github.com:badvision/lawless-legends
This commit is contained in:
commit
91d58fb584
@ -824,10 +824,10 @@ void emit_ical(void)
|
||||
void emit_leave(void)
|
||||
{
|
||||
emit_pending_seq();
|
||||
if (localsize)
|
||||
//if (localsize)
|
||||
printf("\t%s\t$5A,$%02X\t\t\t; LEAVE\t%d\n", DB, localsize, localsize);
|
||||
else
|
||||
printf("\t%s\t$5C\t\t\t; RET\n", DB);
|
||||
//else
|
||||
// printf("\t%s\t$5C\t\t\t; RET\n", DB);
|
||||
}
|
||||
void emit_ret(void)
|
||||
{
|
||||
@ -836,7 +836,7 @@ void emit_ret(void)
|
||||
}
|
||||
void emit_enter(int cparams)
|
||||
{
|
||||
if (localsize)
|
||||
//if (localsize)
|
||||
printf("\t%s\t$58,$%02X,$%02X\t\t; ENTER\t%d,%d\n", DB, localsize, cparams, localsize, cparams);
|
||||
}
|
||||
void emit_start(void)
|
||||
|
@ -1340,16 +1340,7 @@ LEAVEX INY ;+INC_IP
|
||||
STA IFPL
|
||||
PLA
|
||||
STA IFPH
|
||||
STA ALTRDOFF
|
||||
LDA PSR
|
||||
PHA
|
||||
PLP
|
||||
RTS
|
||||
RETX LDA IFPL
|
||||
STA PPL
|
||||
LDA IFPH
|
||||
STA PPH
|
||||
STA ALTRDOFF
|
||||
RETX STA ALTRDOFF
|
||||
LDA PSR
|
||||
PHA
|
||||
PLP
|
||||
|
Loading…
Reference in New Issue
Block a user