diff --git a/src/xenia/cpu/x64/x64_jit.cc b/src/xenia/cpu/x64/x64_jit.cc index 4007dd7dd..6a53d7a02 100644 --- a/src/xenia/cpu/x64/x64_jit.cc +++ b/src/xenia/cpu/x64/x64_jit.cc @@ -106,15 +106,10 @@ int X64JIT::CheckProcessor() { // TODO(benvanik): ensure features we want are supported. - // TODO(benvanik): check for SSE modes we use. - if (!(mask & kX86FeatureSse3)) { - XELOGE("CPU does not support SSE3+ instructions!"); - DumpCPUInfo(); - return 1; - } + DumpCPUInfo(); if (!(mask & kX86FeatureSse41)) { - XELOGW("CPU does not support SSE4.1+ instructions, performance degraded!"); - DumpCPUInfo(); + XELOGW("CPU does not support SSE4.1+ instructions!"); + return 1; } return 0; diff --git a/src/xenia/kernel/modules/xboxkrnl/xboxkrnl_threading.cc b/src/xenia/kernel/modules/xboxkrnl/xboxkrnl_threading.cc index 4c1a26afb..e604b46a5 100644 --- a/src/xenia/kernel/modules/xboxkrnl/xboxkrnl_threading.cc +++ b/src/xenia/kernel/modules/xboxkrnl/xboxkrnl_threading.cc @@ -137,8 +137,6 @@ SHIM_CALL ExCreateThread_shim( uint32_t xeKeSetAffinityThread(void* thread_ptr, uint32_t affinity) { // TODO(benvanik): implement. - // TODO(benvanik): this also needs ObReferenceObjectByHandle to not - // return dummy values. return affinity; } @@ -153,6 +151,9 @@ SHIM_CALL KeSetAffinityThread_shim( thread, affinity); + // TODO(benvanik): expecting dummy values from ObReferenceObjectByHandle. + XEASSERT(thread == 0xDEADF00D); + void* thread_ptr = SHIM_MEM_ADDR(thread); uint32_t result = xeKeSetAffinityThread(thread_ptr, affinity); SHIM_SET_RETURN(result);