summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-09-14 04:48:30 +0200
committerLioncash <mathew1800@gmail.com>2014-09-15 03:31:09 +0200
commit741321ac24a7c596df725cdd6605f2226c19a2ee (patch)
tree131d9dd7ff4f0d5b62682c08899e7aef4edf08c7 /src/core/hle
parentMerge pull request #105 from kevinhartman/hid (diff)
downloadyuzu-741321ac24a7c596df725cdd6605f2226c19a2ee.tar
yuzu-741321ac24a7c596df725cdd6605f2226c19a2ee.tar.gz
yuzu-741321ac24a7c596df725cdd6605f2226c19a2ee.tar.bz2
yuzu-741321ac24a7c596df725cdd6605f2226c19a2ee.tar.lz
yuzu-741321ac24a7c596df725cdd6605f2226c19a2ee.tar.xz
yuzu-741321ac24a7c596df725cdd6605f2226c19a2ee.tar.zst
yuzu-741321ac24a7c596df725cdd6605f2226c19a2ee.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/kernel.cpp43
1 files changed, 2 insertions, 41 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index e56f1879e..88cbc1af5 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -85,47 +85,8 @@ int ObjectPool::GetCount() {
}
Object* ObjectPool::CreateByIDType(int type) {
- // Used for save states. This is ugly, but what other way is there?
- switch (type) {
- //case SCE_KERNEL_TMID_Alarm:
- // return __KernelAlarmObject();
- //case SCE_KERNEL_TMID_EventFlag:
- // return __KernelEventFlagObject();
- //case SCE_KERNEL_TMID_Mbox:
- // return __KernelMbxObject();
- //case SCE_KERNEL_TMID_Fpl:
- // return __KernelMemoryFPLObject();
- //case SCE_KERNEL_TMID_Vpl:
- // return __KernelMemoryVPLObject();
- //case PPSSPP_KERNEL_TMID_PMB:
- // return __KernelMemoryPMBObject();
- //case PPSSPP_KERNEL_TMID_Module:
- // return __KernelModuleObject();
- //case SCE_KERNEL_TMID_Mpipe:
- // return __KernelMsgPipeObject();
- //case SCE_KERNEL_TMID_Mutex:
- // return __KernelMutexObject();
- //case SCE_KERNEL_TMID_LwMutex:
- // return __KernelLwMutexObject();
- //case SCE_KERNEL_TMID_Semaphore:
- // return __KernelSemaphoreObject();
- //case SCE_KERNEL_TMID_Callback:
- // return __KernelCallbackObject();
- //case SCE_KERNEL_TMID_Thread:
- // return __KernelThreadObject();
- //case SCE_KERNEL_TMID_VTimer:
- // return __KernelVTimerObject();
- //case SCE_KERNEL_TMID_Tlspl:
- // return __KernelTlsplObject();
- //case PPSSPP_KERNEL_TMID_File:
- // return __KernelFileNodeObject();
- //case PPSSPP_KERNEL_TMID_DirList:
- // return __KernelDirListingObject();
-
- default:
- ERROR_LOG(COMMON, "Unable to load state: could not find object type %d.", type);
- return nullptr;
- }
+ ERROR_LOG(COMMON, "Unimplemented: %d.", type);
+ return nullptr;
}
/// Initialize the kernel