diff --git a/pcsx2/MTVU.cpp b/pcsx2/MTVU.cpp index 43d40f7ba2..46f2e40a06 100644 --- a/pcsx2/MTVU.cpp +++ b/pcsx2/MTVU.cpp @@ -179,12 +179,12 @@ void VU_Thread::ReserveSpace(s32 size) } // Use this when reading read_pos from ee thread -__fi volatile s32 VU_Thread::GetReadPos() +__fi s32 VU_Thread::GetReadPos() { return AtomicRead(read_pos); } // Use this when reading write_pos from vu thread -__fi volatile s32 VU_Thread::GetWritePos() +__fi s32 VU_Thread::GetWritePos() { return AtomicRead(volatize(write_pos)); } @@ -354,4 +354,4 @@ void VU_Thread::WriteRow(vifStruct& _vif) Write(MTVU_VIF_WRITE_ROW); Write(&_vif.MaskRow, sizeof(_vif.MaskRow)); incWritePos(); -} \ No newline at end of file +} diff --git a/pcsx2/MTVU.h b/pcsx2/MTVU.h index 88d25a28dc..672ff5885c 100644 --- a/pcsx2/MTVU.h +++ b/pcsx2/MTVU.h @@ -83,8 +83,8 @@ private: void WaitOnSize(s32 size); void ReserveSpace(s32 size); - volatile s32 GetReadPos(); - volatile s32 GetWritePos(); + s32 GetReadPos(); + s32 GetWritePos(); u32* GetWritePtr(); void incReadPos(s32 offset);