mirror of https://github.com/PCSX2/pcsx2.git
GS: Properly check for a VU1 recompiler.
Fixes ARM builds where the VU1 recompiler was enabled despite there being no VU1 recompiler.
This commit is contained in:
parent
572eae596c
commit
fa0303d646
|
@ -1435,10 +1435,12 @@ namespace EmuFolders
|
|||
|
||||
// ------------ CPU / Recompiler Options ---------------
|
||||
|
||||
#ifdef _M_X86 // TODO(Stenzek): Remove me once EE/VU/IOP recs are added.
|
||||
#define THREAD_VU1 (EmuConfig.Cpu.Recompiler.EnableVU1 && EmuConfig.Speedhacks.vuThread)
|
||||
#ifdef _M_X86 // TODO: Remove me once EE/VU/IOP recs are added.
|
||||
#define REC_VU1 (EmuConfig.Cpu.Recompiler.EnableVU1)
|
||||
#define THREAD_VU1 (REC_VU1 && EmuConfig.Speedhacks.vuThread)
|
||||
#else
|
||||
#define THREAD_VU1 false
|
||||
#define REC_VU1 false
|
||||
#endif
|
||||
#define INSTANT_VU1 (EmuConfig.Speedhacks.vu1Instant)
|
||||
#define CHECK_EEREC (EmuConfig.Cpu.Recompiler.EnableEE)
|
||||
|
|
|
@ -603,7 +603,7 @@ struct Gif_Unit
|
|||
}
|
||||
if (curSize >= size)
|
||||
return size;
|
||||
if(((flush && gifTag.tag.EOP) || !flush) && (CHECK_XGKICKHACK || !EmuConfig.Cpu.Recompiler.EnableVU1))
|
||||
if(((flush && gifTag.tag.EOP) || !flush) && (CHECK_XGKICKHACK || !REC_VU1))
|
||||
{
|
||||
return curSize | ((u32)gifTag.tag.EOP << 31);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue