Apply JPCSP's fix that allows some audio to play in Monster Hunter. Far from perfect though.

This commit is contained in:
Henrik Rydgard 2013-07-06 23:56:19 +02:00
parent 1c7038fab9
commit b78276fcca

View file

@ -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);
}