diff options
author | Jarek Syrylak <jarek.syrylak@gogoameo.com> | 2018-09-20 23:03:57 +0200 |
---|---|---|
committer | Jarek Syrylak <jarek.syrylak@gogoameo.com> | 2018-09-20 23:03:57 +0200 |
commit | 74f966404db155d61808739bfd8a497c58a2f868 (patch) | |
tree | 800f8f8f7088ec71d44eb13a2a6324dc2bd782d6 /src/core/gdbstub | |
parent | Merge pull request #1358 from DarkLordZach/temp-storage (diff) | |
download | yuzu-74f966404db155d61808739bfd8a497c58a2f868.tar yuzu-74f966404db155d61808739bfd8a497c58a2f868.tar.gz yuzu-74f966404db155d61808739bfd8a497c58a2f868.tar.bz2 yuzu-74f966404db155d61808739bfd8a497c58a2f868.tar.lz yuzu-74f966404db155d61808739bfd8a497c58a2f868.tar.xz yuzu-74f966404db155d61808739bfd8a497c58a2f868.tar.zst yuzu-74f966404db155d61808739bfd8a497c58a2f868.zip |
Diffstat (limited to 'src/core/gdbstub')
-rw-r--r-- | src/core/gdbstub/gdbstub.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp index 1b04f68bf..0ecdd9f82 100644 --- a/src/core/gdbstub/gdbstub.cpp +++ b/src/core/gdbstub/gdbstub.cpp @@ -995,7 +995,7 @@ static bool CommitBreakpoint(BreakpointType type, VAddr addr, u64 len) { breakpoint.addr = addr; breakpoint.len = len; Memory::ReadBlock(addr, breakpoint.inst.data(), breakpoint.inst.size()); - static constexpr std::array<u8, 4> btrap{{0xd4, 0x20, 0x7d, 0x0}}; + static constexpr std::array<u8, 4> btrap{{0x00, 0x7d, 0x20, 0xd4}}; Memory::WriteBlock(addr, btrap.data(), btrap.size()); Core::System::GetInstance().InvalidateCpuInstructionCaches(); p.insert({addr, breakpoint}); |