From 785824531caa65c7a4e73877c6120e91886047e3 Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Tue, 1 Dec 2015 21:02:46 -0600 Subject: [PATCH] Fix the assert on no restore handler found --- src/xenia/kernel/xobject.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/xenia/kernel/xobject.cc b/src/xenia/kernel/xobject.cc index 8769ca7d5..c5cae5496 100644 --- a/src/xenia/kernel/xobject.cc +++ b/src/xenia/kernel/xobject.cc @@ -144,11 +144,9 @@ object_ref XObject::Restore(KernelState* kernel_state, Type type, return XThread::Restore(kernel_state, stream); case kTypeTimer: break; - default: - assert_always("No restore handler exists for this object!"); - return nullptr; } + assert_always("No restore handler exists for this object!"); return nullptr; }