mirror of https://github.com/PCSX2/pcsx2.git
iR5900: Don't limit block sizes to 16 bits
This commit is contained in:
parent
e91aabc843
commit
f39e856fee
|
@ -32,10 +32,10 @@ struct BASEBLOCK
|
|||
// extra block info (only valid for start of fn)
|
||||
struct BASEBLOCKEX
|
||||
{
|
||||
u32 startpc;
|
||||
uptr fnptr;
|
||||
u16 size; // The size in dwords (equivalent to the number of instructions)
|
||||
u16 x86size; // The size in byte of the translated x86 instructions
|
||||
u32 startpc;
|
||||
u32 size; // The size in dwords (equivalent to the number of instructions)
|
||||
u32 x86size; // The size in byte of the translated x86 instructions
|
||||
|
||||
#ifdef PCSX2_DEVBUILD
|
||||
// Could be useful to instrument the block
|
||||
|
|
|
@ -2672,8 +2672,7 @@ StartRecomp:
|
|||
|
||||
pxAssert(xGetPtr() < recMem->GetPtrEnd());
|
||||
|
||||
pxAssert(xGetPtr() - recPtr < _64kb);
|
||||
s_pCurBlockEx->x86size = xGetPtr() - recPtr;
|
||||
s_pCurBlockEx->x86size = static_cast<u32>(xGetPtr() - recPtr);
|
||||
|
||||
#if 0
|
||||
// Example: Dump both x86/EE code
|
||||
|
|
Loading…
Reference in New Issue