Skip to content
Permalink
Browse files

Qt: Fix AddressSpace::WriteXXX parameter order mixup

  • Loading branch information...
leoetlino committed May 10, 2019
1 parent d00711b commit e66547d6e5b992bd9cfbbd49de4c8138fecd064c
Showing with 4 additions and 4 deletions.
  1. +4 −4 Source/Core/DolphinQt/Debugger/MemoryWidget.cpp
@@ -495,18 +495,18 @@ void MemoryWidget::OnSetValue()

if (value == static_cast<u8>(value))
{
accessors->WriteU8(static_cast<u8>(value), addr);
accessors->WriteU8(addr, static_cast<u8>(value));
}
else if (value == static_cast<u16>(value))
{
accessors->WriteU16(static_cast<u16>(value), addr);
accessors->WriteU16(addr, static_cast<u16>(value));
}
else if (value == static_cast<u32>(value))
{
accessors->WriteU32(static_cast<u32>(value), addr);
accessors->WriteU32(addr, static_cast<u32>(value));
}
else
accessors->WriteU64(value, addr);
accessors->WriteU64(addr, value);
}

Update();

0 comments on commit e66547d

Please sign in to comment.
You can’t perform that action at this time.