Merge branch 'master' into d3d12
This commit is contained in:
@@ -35,6 +35,8 @@ class App {
|
||||
virtual X_RESULT DispatchMessageSync(uint32_t message, uint32_t buffer_ptr,
|
||||
uint32_t buffer_length) = 0;
|
||||
|
||||
virtual ~App() = default;
|
||||
|
||||
protected:
|
||||
App(KernelState* kernel_state, uint32_t app_id);
|
||||
|
||||
|
||||
@@ -42,6 +42,12 @@ void RtlRaiseException(pointer_t<X_EXCEPTION_RECORD> record) {
|
||||
reinterpret_cast<X_THREADNAME_INFO*>(&record->exception_information[0]);
|
||||
|
||||
assert_true(thread_info->type == 0x1000);
|
||||
|
||||
if (!thread_info->name_ptr) {
|
||||
XELOGD("SetThreadName called with null name_ptr");
|
||||
return;
|
||||
}
|
||||
|
||||
auto name =
|
||||
kernel_memory()->TranslateVirtual<const char*>(thread_info->name_ptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user