From 1c7038fab9766265a4660a48ef5b394a40643345 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sat, 6 Jul 2013 23:50:45 +0200 Subject: [PATCH 1/2] Reduce default volume. --- Core/Config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index ec87005d04..aebb7523cd 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -129,8 +129,8 @@ void Config::Load(const char *iniFileName) IniFile::Section *sound = iniFile.GetOrCreateSection("Sound"); sound->Get("Enable", &bEnableSound, true); sound->Get("EnableAtrac3plus", &bEnableAtrac3plus, true); - sound->Get("BGMVolume", &iBGMVolume, 8); - sound->Get("SEVolume", &iSEVolume, 8); + sound->Get("BGMVolume", &iBGMVolume, 4); + sound->Get("SEVolume", &iSEVolume, 4); IniFile::Section *control = iniFile.GetOrCreateSection("Control"); control->Get("ShowStick", &bShowAnalogStick, false); From b78276fccad658e96f3ed5d7f49ba0df25e41883 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sat, 6 Jul 2013 23:56:19 +0200 Subject: [PATCH 2/2] 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); }