diff --git a/src/xenia/kernel/util/shim_utils.h b/src/xenia/kernel/util/shim_utils.h index 2a1411bf1..20277199e 100644 --- a/src/xenia/kernel/util/shim_utils.h +++ b/src/xenia/kernel/util/shim_utils.h @@ -231,7 +231,7 @@ class StringPointerParam : public ParamBase { uintptr_t host_address() const { return reinterpret_cast(host_ptr_); } - STR value() const { return STR(host_ptr_); } + STR value() const { return xe::load_and_swap(host_ptr_); } operator CHAR*() const { return host_ptr_; } operator bool() const { return host_ptr_ != nullptr; }