mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-21 19:05:00 +00:00
refactoring system service
This commit is contained in:
parent
7391f7708a
commit
11c0d79045
4 changed files with 11 additions and 11 deletions
|
@ -6,7 +6,7 @@
|
|||
#include <core/PS4/HLE/Graphics/video_out.h>
|
||||
#include "core/hle/libraries/libuserservice/user_service.h"
|
||||
#include "core/hle/libraries/libpad/pad.h"
|
||||
#include <Emulator/HLE/Libraries/LibSystemService/system_service.h>
|
||||
#include <core/hle/libraries/libsystemservice/system_service.h>
|
||||
|
||||
namespace HLE::Libs {
|
||||
|
||||
|
@ -17,6 +17,6 @@ void Init_HLE_Libs(SymbolsResolver *sym) {
|
|||
LibSceGnmDriver::LibSceGnmDriver_Register(sym);
|
||||
Core::Libraries::LibUserService::userServiceSymbolsRegister(sym);
|
||||
Core::Libraries::LibPad::padSymbolsRegister(sym);
|
||||
Emulator::HLE::Libraries::LibSystemService::libSystemService_Register(sym);
|
||||
Core::Libraries::LibSystemService::systemServiceSymbolsRegister(sym);
|
||||
}
|
||||
} // namespace HLE::Libs
|
|
@ -1,16 +1,16 @@
|
|||
#include <core/PS4/HLE/ErrorCodes.h>
|
||||
#include <core/PS4/HLE/Libs.h>
|
||||
|
||||
#include <Util/log.h>
|
||||
#include "system_service.h"
|
||||
|
||||
namespace Emulator::HLE::Libraries::LibSystemService {
|
||||
namespace Core::Libraries::LibSystemService {
|
||||
|
||||
s32 PS4_SYSV_ABI sceSystemServiceHideSplashScreen() {
|
||||
// dummy
|
||||
PRINT_DUMMY_FUNCTION_NAME();
|
||||
return SCE_OK;
|
||||
}
|
||||
|
||||
void libSystemService_Register(SymbolsResolver* sym) {
|
||||
void systemServiceSymbolsRegister(SymbolsResolver* sym) {
|
||||
LIB_FUNCTION("Vo5V8KAwCmk", "libSceSystemService", 1, "libSceSystemService", 1, 1, sceSystemServiceHideSplashScreen);
|
||||
}
|
||||
}; // namespace Emulator::HLE::Libraries::LibUserService
|
|
@ -1,11 +1,11 @@
|
|||
#pragma once
|
||||
#include "core/PS4/Loader/SymbolsResolver.h"
|
||||
|
||||
namespace Emulator::HLE::Libraries::LibSystemService {
|
||||
namespace Core::Libraries::LibSystemService {
|
||||
|
||||
//HLE functions
|
||||
s32 PS4_SYSV_ABI sceSystemServiceHideSplashScreen();
|
||||
|
||||
void libSystemService_Register(SymbolsResolver* sym);
|
||||
void systemServiceSymbolsRegister(SymbolsResolver* sym);
|
||||
|
||||
}; // namespace Emulator::HLE::Libraries::LibUserService
|
Loading…
Add table
Add a link
Reference in a new issue