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:
SarahW 2017-10-15 21:32:01 +01:00
commit c71963727a
4 changed files with 37 additions and 16 deletions

View file

@ -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;