Returned back to the PCem GPF handler.

This commit is contained in:
OBattler
2022-10-27 03:56:26 +02:00
parent 47604db6b1
commit 4dc74515e8
2 changed files with 2 additions and 2 deletions

View File

@@ -281,7 +281,7 @@ void codegen_block_start_recompile(codeblock_t *block)
block->status = cpu_cur_status;
block_pos = BLOCK_GPF_OFFSET;
#ifdef OLD_GPF
#ifndef NEW_GPF
#if _WIN64
addbyte(0x48); /*XOR RCX, RCX*/
addbyte(0x31);

View File

@@ -8,7 +8,7 @@
#define HASH(l) ((l) & 0x1ffff)
#define BLOCK_EXIT_OFFSET 0x7e0
#ifdef OLD_GPF
#ifndef NEW_GPF
#define BLOCK_GPF_OFFSET (BLOCK_EXIT_OFFSET - 20)
#else
#define BLOCK_GPF_OFFSET (BLOCK_EXIT_OFFSET - 12)