Recompiler now uses logical address of 0xffffffff rather than 0 to represent invalid block. Fixes some Unixes when recompiler enabled.
This commit is contained in:
parent
5f0d43f782
commit
c71963727a
4 changed files with 37 additions and 16 deletions
|
|
@ -74,6 +74,8 @@ typedef struct codeblock_t
|
|||
/*Code block is always entered with the same FPU top-of-stack*/
|
||||
#define CODEBLOCK_STATIC_TOP 2
|
||||
|
||||
#define BLOCK_PC_INVALID 0xffffffff
|
||||
|
||||
static inline codeblock_t *codeblock_tree_find(uint32_t phys, uint32_t _cs)
|
||||
{
|
||||
codeblock_t *block = pages[phys >> 12].head;
|
||||
|
|
|
|||
Loading…
Reference in a new issue