diff options
| author | Dr. Chat <arkolbed@gmail.com> | 2018-04-29 18:26:36 -0500 |
|---|---|---|
| committer | Dr. Chat <arkolbed@gmail.com> | 2018-04-29 18:26:36 -0500 |
| commit | 87bfad1f74f8904842c7d22aeaa319eee086dfaf (patch) | |
| tree | 5081d8550cb57ad2a9d43f1e71db0649c718acff | |
| parent | ef3577e45ca28a87bdf5510649367927c23508cb (diff) | |
[GPU] PM4_EVENT_WRITE_EXT destination is /not/ aligned (to 16 bytes)
| -rw-r--r-- | src/xenia/gpu/command_processor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xenia/gpu/command_processor.cc b/src/xenia/gpu/command_processor.cc index 960cc8294..37f416646 100644 --- a/src/xenia/gpu/command_processor.cc +++ b/src/xenia/gpu/command_processor.cc @@ -1051,8 +1051,8 @@ bool CommandProcessor::ExecutePacketType3_EVENT_WRITE_EXT(RingBuffer* reader, 1, // max z }; assert_true(endianness == Endian::k8in16); - xe::copy_and_swap_16_aligned(memory_->TranslatePhysical(address), extents, - xe::countof(extents)); + xe::copy_and_swap_16_unaligned(memory_->TranslatePhysical(address), extents, + xe::countof(extents)); trace_writer_.WriteMemoryWrite(CpuToGpu(address), sizeof(extents)); return true; } |
