mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 23:03:18 +00:00
common: Move classes to common namespace
This commit is contained in:
parent
996aa9d17a
commit
303f086b14
21 changed files with 190 additions and 199 deletions
|
@ -30,7 +30,7 @@ struct CContext {
|
|||
};
|
||||
|
||||
static PS4_SYSV_ABI int __cxa_atexit(void (*func)(void*), void* arg, void* dso_handle) {
|
||||
auto* cc = singleton<CContext>::instance();
|
||||
auto* cc = Common::Singleton<CContext>::Instance();
|
||||
CxaDestructor c{};
|
||||
c.destructor_func = func;
|
||||
c.destructor_object = arg;
|
||||
|
@ -127,4 +127,4 @@ void libcSymbolsRegister(SymbolsResolver* sym) {
|
|||
LIB_FUNCTION("zr094EQ39Ww", "libc", 1, "libc", 1, 1, __cxa_pure_virtual);
|
||||
}
|
||||
|
||||
}; // namespace Core::Libraries::LibC
|
||||
}; // namespace Core::Libraries::LibC
|
||||
|
|
|
@ -21,7 +21,7 @@ int PS4_SYSV_ABI scePadOpen(Core::Libraries::LibUserService::SceUserServiceUserI
|
|||
}
|
||||
|
||||
int PS4_SYSV_ABI scePadReadState(int32_t handle, ScePadData* pData) {
|
||||
auto* controller = singleton<Emulator::Host::Controller::GameController>::instance();
|
||||
auto* controller = Common::Singleton<Emulator::Host::Controller::GameController>::Instance();
|
||||
|
||||
int connectedCount = 0;
|
||||
bool isConnected = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue