diff --git a/Core/Core.vcxproj b/Core/Core.vcxproj index 7803763a2..bfd3168b8 100644 --- a/Core/Core.vcxproj +++ b/Core/Core.vcxproj @@ -200,6 +200,7 @@ + @@ -372,6 +373,7 @@ + diff --git a/Core/Core.vcxproj.filters b/Core/Core.vcxproj.filters index 56df4f8f9..7fb8bd3b3 100644 --- a/Core/Core.vcxproj.filters +++ b/Core/Core.vcxproj.filters @@ -195,6 +195,9 @@ HLE\Libraries + + HLE\Libraries + HLE\Libraries @@ -529,6 +532,9 @@ HLE\Libraries + + HLE\Libraries + HLE\Libraries diff --git a/Core/HLE/HLETables.cpp b/Core/HLE/HLETables.cpp index 94dc5e5fc..1f98f7417 100644 --- a/Core/HLE/HLETables.cpp +++ b/Core/HLE/HLETables.cpp @@ -56,6 +56,7 @@ #include "sceChnnlsv.h" #include "scePspNpDrm_user.h" #include "sceP3da.h" +#include "sceGameUpdate.h" #define N(s) s @@ -250,6 +251,7 @@ void RegisterAllModules() { Register_sceChnnlsv(); Register_sceNpDrm(); Register_sceP3da(); + Register_sceGameUpdate(); for (int i = 0; i < numModules; i++) { diff --git a/Core/HLE/sceGameUpdate.cpp b/Core/HLE/sceGameUpdate.cpp new file mode 100644 index 000000000..2fe887ea0 --- /dev/null +++ b/Core/HLE/sceGameUpdate.cpp @@ -0,0 +1,56 @@ +// 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" + + +u32 sceGameUpdateInit() +{ + DEBUG_LOG(HLE, "UNIMPL ceGameUpdateInit()"); + return 0; +} + +u32 sceGameUpdateTerm() +{ + DEBUG_LOG(HLE, "UNIMPL sceGameUpdateTerm()"); + return 0; +} + +u32 sceGameUpdateRun() +{ + DEBUG_LOG(HLE, "UNIMPL sceGameUpdateRun()"); + return 0; +} + +u32 sceGameUpdateAbort() +{ + DEBUG_LOG(HLE, "UNIMPL sceGameUpdateAbort()"); + return 0; +} + +const HLEFunction sceGameUpdate[] = +{ + {0xCBE69FB3, WrapU_V, "sceGameUpdateInit"}, + {0xBB4B68DE, WrapU_V, "sceGameUpdateTerm"}, + {0x596AD78C, WrapU_V, "sceGameUpdateRun"}, + {0x5F5D98A6, WrapU_V, "sceGameUpdateAbort"}, +}; + +void Register_sceGameUpdate() +{ + RegisterModule("sceGameUpdate", ARRAY_SIZE(sceGameUpdate), sceGameUpdate); +} diff --git a/Core/HLE/sceGameUpdate.h b/Core/HLE/sceGameUpdate.h new file mode 100644 index 000000000..dc62f0128 --- /dev/null +++ b/Core/HLE/sceGameUpdate.h @@ -0,0 +1,22 @@ +// 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 + +#include "HLE.h" + +void Register_sceGameUpdate();