From 87bfad1f74f8904842c7d22aeaa319eee086dfaf Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Sun, 29 Apr 2018 18:26:36 -0500 Subject: [PATCH] [GPU] PM4_EVENT_WRITE_EXT destination is /not/ aligned (to 16 bytes) --- src/xenia/gpu/command_processor.cc | 4 ++-- 1 file 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; }