2026-09-16 16:37:17

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie
2026-09-16 16:37:17 +00:00
parent 4fe5f62c38
commit 886e7b0da7
@@ -184,8 +184,8 @@ template<>
} }
// check for sign bit, apply sign extension as needed // check for sign bit, apply sign extension as needed
if (ctx.conf.page_table_sign_extension) { if (ctx.conf.page_table_sign_extension) {
code.shl(page, 63 - int(*ctx.conf.page_table_sign_extension)); code.shl(page, 63 - *ctx.conf.page_table_sign_extension);
code.sar(page, 63 - int(*ctx.conf.page_table_sign_extension)); code.sar(page, 63 - *ctx.conf.page_table_sign_extension);
} }
code.jz(abort, code.T_NEAR); code.jz(abort, code.T_NEAR);