diff --git a/Core/CMakeLists.txt b/Core/CMakeLists.txt
index 824acb84cd..7b36e268cc 100644
--- a/Core/CMakeLists.txt
+++ b/Core/CMakeLists.txt
@@ -55,6 +55,7 @@ set(SRCS
HLE/sceParseUri.cpp
HLE/sceParseHttp.cpp
HLE/scesupPreAcc.cpp
+ HLE/sceVaudio.cpp
HW/MemoryStick.cpp
FileSystems/BlockDevices.cpp
FileSystems/ISOFileSystem.cpp
diff --git a/Core/Core.vcxproj b/Core/Core.vcxproj
index 9ded6c257a..a1243f56bb 100644
--- a/Core/Core.vcxproj
+++ b/Core/Core.vcxproj
@@ -165,6 +165,7 @@
+
@@ -304,6 +305,7 @@
+
diff --git a/Core/Core.vcxproj.filters b/Core/Core.vcxproj.filters
index 4cddd043e7..8d9ce20db5 100644
--- a/Core/Core.vcxproj.filters
+++ b/Core/Core.vcxproj.filters
@@ -318,6 +318,9 @@
HLE\Libraries
+
+ HLE\Libraries
+
@@ -584,6 +587,9 @@
HLE\Libraries
+
+ HLE\Libraries
+
diff --git a/Core/HLE/HLETables.cpp b/Core/HLE/HLETables.cpp
index ce63298216..67d1ef8d9e 100644
--- a/Core/HLE/HLETables.cpp
+++ b/Core/HLE/HLETables.cpp
@@ -52,6 +52,7 @@
#include "sceSsl.h"
#include "sceParseHttp.h"
#include "scesupPreAcc.h"
+#include "sceVaudio.h"
#define N(s) s
@@ -273,6 +274,7 @@ void RegisterAllModules() {
Register_sceSsl();
Register_sceParseHttp();
Register_scesupPreAcc();
+ Register_sceVaudio();
for (int i = 0; i < numModules; i++)
{
diff --git a/Core/HLE/sceDisplay.cpp b/Core/HLE/sceDisplay.cpp
index 5e42caebe4..f8a0609c6b 100644
--- a/Core/HLE/sceDisplay.cpp
+++ b/Core/HLE/sceDisplay.cpp
@@ -327,6 +327,12 @@ void sceDisplayWaitVblank()
__KernelWaitCurThread(WAITTYPE_VBLANK, 0, 0, 0, false);
}
+void sceDisplayWaitVblankStartMulti()
+{
+ DEBUG_LOG(HLE,"sceDisplayWaitVblankStartMulti()");
+ __KernelWaitCurThread(WAITTYPE_VBLANK, 0, 0, 0, false);
+}
+
void sceDisplayWaitVblankCB()
{
DEBUG_LOG(HLE,"sceDisplayWaitVblankCB()");
@@ -385,10 +391,10 @@ const HLEFunction sceDisplay[] =
{0xEEDA2E54,&WrapU_UUUI,"sceDisplayGetFrameBuf"},
{0x36CDFADE,sceDisplayWaitVblank, "sceDisplayWaitVblank"},
{0x984C27E7,sceDisplayWaitVblankStart, "sceDisplayWaitVblankStart"},
+ {0x40f1469c,sceDisplayWaitVblankStartMulti, "sceDisplayWaitVblankStartMulti"},
{0x8EB9EC49,sceDisplayWaitVblankCB, "sceDisplayWaitVblankCB"},
{0x46F186C3,sceDisplayWaitVblankStartCB, "sceDisplayWaitVblankStartCB"},
{0x77ed8b3a,sceDisplayWaitVblankStartMultiCB,"sceDisplayWaitVblankStartMultiCB"},
-
{0xdba6c4c4,&WrapF_V,"sceDisplayGetFramePerSec"},
{0x773dd3a3,sceDisplayGetCurrentHcount,"sceDisplayGetCurrentHcount"},
{0x210eab3a,sceDisplayGetAccumulatedHcount,"sceDisplayGetAccumulatedHcount"},
@@ -399,6 +405,7 @@ const HLEFunction sceDisplay[] =
{0xB4F378FA,0,"sceDisplayIsForeground"},
{0x31C4BAA8,0,"sceDisplayGetBrightness"},
{0x4D4E10EC,sceDisplayIsVblank,"sceDisplayIsVblank"},
+
};
void Register_sceDisplay()
diff --git a/Core/HLE/sceVaudio.cpp b/Core/HLE/sceVaudio.cpp
new file mode 100644
index 0000000000..6ca72b69d0
--- /dev/null
+++ b/Core/HLE/sceVaudio.cpp
@@ -0,0 +1,32 @@
+// Copyright (c) 2012- PPSSPP Project.
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, version 2.0 or later versions.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License 2.0 for more details.
+
+// A copy of the GPL 2.0 should have been included with the program.
+// If not, see http://www.gnu.org/licenses/
+
+// Official git repository and contact information can be found at
+// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
+
+#include "HLE.h"
+
+#include "sceVaudio.h"
+
+const HLEFunction sceVaudio[] =
+{
+ {0x03b6807d, 0, "sceVaudio_0x03b6807d"},
+ {0x67585dfd, 0, "sceVaudio_0x67585dfd"},
+ {0x8986295e, 0, "sceVaudio_0x8986295e"},
+};
+
+void Register_sceVaudio()
+{
+ RegisterModule("sceVaudio",ARRAY_SIZE(sceVaudio), sceVaudio );
+}
diff --git a/Core/HLE/sceVaudio.h b/Core/HLE/sceVaudio.h
new file mode 100644
index 0000000000..ef5d7c951a
--- /dev/null
+++ b/Core/HLE/sceVaudio.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2012- PPSSPP Project.
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, version 2.0 or later versions.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License 2.0 for more details.
+
+// A copy of the GPL 2.0 should have been included with the program.
+// If not, see http://www.gnu.org/licenses/
+
+// Official git repository and contact information can be found at
+// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
+
+#pragma once
+
+void Register_sceVaudio();
+