Returned back to the PCem GPF handler.
This commit is contained in:
@@ -281,7 +281,7 @@ void codegen_block_start_recompile(codeblock_t *block)
|
|||||||
block->status = cpu_cur_status;
|
block->status = cpu_cur_status;
|
||||||
|
|
||||||
block_pos = BLOCK_GPF_OFFSET;
|
block_pos = BLOCK_GPF_OFFSET;
|
||||||
#ifdef OLD_GPF
|
#ifndef NEW_GPF
|
||||||
#if _WIN64
|
#if _WIN64
|
||||||
addbyte(0x48); /*XOR RCX, RCX*/
|
addbyte(0x48); /*XOR RCX, RCX*/
|
||||||
addbyte(0x31);
|
addbyte(0x31);
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
#define HASH(l) ((l) & 0x1ffff)
|
#define HASH(l) ((l) & 0x1ffff)
|
||||||
|
|
||||||
#define BLOCK_EXIT_OFFSET 0x7e0
|
#define BLOCK_EXIT_OFFSET 0x7e0
|
||||||
#ifdef OLD_GPF
|
#ifndef NEW_GPF
|
||||||
#define BLOCK_GPF_OFFSET (BLOCK_EXIT_OFFSET - 20)
|
#define BLOCK_GPF_OFFSET (BLOCK_EXIT_OFFSET - 20)
|
||||||
#else
|
#else
|
||||||
#define BLOCK_GPF_OFFSET (BLOCK_EXIT_OFFSET - 12)
|
#define BLOCK_GPF_OFFSET (BLOCK_EXIT_OFFSET - 12)
|
||||||
|
Reference in New Issue
Block a user