1
0
mirror of https://github.com/ksherlock/x65.git synced 2024-06-01 12:41:28 +00:00

Fix address corruption issue with when code segment is pushed beyond 32kb

This commit is contained in:
dwsJason 2020-02-22 14:04:49 -05:00
parent b699c1b6f4
commit fd1bc0ba76

View File

@ -7737,7 +7737,7 @@ StatusCode Asm::WriteA2GS_OMF(strref filename, bool full_collapse) {
// insert all SUPER_RELOC2 / SUPER_RELOC3
for (int b = 0; b <= 1; b++) {
int count_offs = -1;
int prev_page = 0;
int prev_page = -1;
int inst_curr = instruction_offs;
instructions[inst_curr++] = OMFR_SUPER;
int len_offs = inst_curr;