mirror of https://github.com/PCSX2/pcsx2.git
Very nasty quick fix for sVU and VU interpreter regression in r3648. I have no idea why it's desirable to be able to move the VU registers structure after initialisation and a proper fix allowing for this is going to messy. Needs Jake's attention.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3673 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
112800cb98
commit
8aee9f652d
|
@ -422,6 +422,8 @@ void SysClearExecutionCache()
|
|||
|
||||
Cpu->Reset();
|
||||
psxCpu->Reset();
|
||||
if (CHECK_EEREC)
|
||||
((BaseVUmicroCPU*)GetCpuProviders().CpuProviders->microVU0)->Reset();
|
||||
CpuVU0->Reset();
|
||||
CpuVU1->Reset();
|
||||
|
||||
|
|
|
@ -43,12 +43,12 @@ protected:
|
|||
class SysCpuProviderPack
|
||||
{
|
||||
protected:
|
||||
ScopedPtr<CpuInitializerSet> CpuProviders;
|
||||
|
||||
ScopedPtr<BaseException> m_RecExceptionEE;
|
||||
ScopedPtr<BaseException> m_RecExceptionIOP;
|
||||
|
||||
public:
|
||||
ScopedPtr<CpuInitializerSet> CpuProviders;
|
||||
|
||||
SysCpuProviderPack();
|
||||
virtual ~SysCpuProviderPack() throw();
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ static vtlbHandler UnmappedPhyHandler1;
|
|||
template< typename DataType >
|
||||
DataType __fastcall vtlb_memRead(u32 addr)
|
||||
{
|
||||
static const uint DataSize = sizeof(DataType);
|
||||
static const uint DataSize = sizeof(DataType) * 8;
|
||||
u32 vmv=vtlbdata.vmap[addr>>VTLB_PAGE_BITS];
|
||||
s32 ppf=addr+vmv;
|
||||
|
||||
|
@ -134,7 +134,7 @@ void __fastcall vtlb_memRead128(u32 mem, u64 (&out)[2])
|
|||
template< typename DataType >
|
||||
void __fastcall vtlb_memWrite(u32 addr, DataType data)
|
||||
{
|
||||
static const uint DataSize = sizeof(DataType);
|
||||
static const uint DataSize = sizeof(DataType) * 8;
|
||||
|
||||
u32 vmv=vtlbdata.vmap[addr>>VTLB_PAGE_BITS];
|
||||
s32 ppf=addr+vmv;
|
||||
|
|
Loading…
Reference in New Issue