Skip to content

Commit 6db638d

Browse files
refractionpcsx2lightningterror
authored andcommitted
SPU2: Pass IOP cycle count at 64bit
1 parent 4fd1a41 commit 6db638d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pcsx2/SPU2/spu2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ void SPU2writeDMA7Mem(u16* pMem, u32 size);
8181
extern u64 lClocks;
8282

8383
extern void CounterUpdate(u32 DMAICounter);
84-
extern void TimeUpdate(u32 cClocks);
84+
extern void TimeUpdate(u64 cClocks);
8585
extern void SPU2_FastWrite(u32 rmem, u16 value);
8686

pcsx2/SPU2/spu2sys.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ __forceinline void CheckDMAProgress(int cid)
314314
static constexpr uint TickInterval = 768;
315315
static constexpr int SanityInterval = 4800;
316316

317-
__forceinline void TimeUpdate(u32 cClocks)
317+
__forceinline void TimeUpdate(u64 cClocks)
318318
{
319319
u32 dClocks = cClocks - lClocks;
320320

0 commit comments

Comments
 (0)