From b78276fccad658e96f3ed5d7f49ba0df25e41883 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sat, 6 Jul 2013 23:56:19 +0200 Subject: [PATCH] Apply JPCSP's fix that allows some audio to play in Monster Hunter. Far from perfect though. --- Core/HLE/sceKernelVTimer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/HLE/sceKernelVTimer.cpp b/Core/HLE/sceKernelVTimer.cpp index ca25ba8af1..7ede58d923 100644 --- a/Core/HLE/sceKernelVTimer.cpp +++ b/Core/HLE/sceKernelVTimer.cpp @@ -329,7 +329,8 @@ void __startVTimer(VTimer *vt) { vt->nvt.active = 1; vt->nvt.base = cyclesToUs(CoreTiming::GetTicks()); - if (vt->nvt.schedule != 0 && vt->nvt.handlerAddr != 0) + // Checking for zero here breaks audio in Monster Hunter. It still doesn't work well though. + if (/*vt->nvt.schedule != 0 &&*/ vt->nvt.handlerAddr != 0) __KernelScheduleVTimer(vt, vt->nvt.schedule); }