diff options
author | bunnei <bunneidev@gmail.com> | 2016-12-17 07:20:47 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-12-22 05:48:14 +0100 |
commit | 5ac5cbeab7387b2eabd4618291e223fd7189bb8b (patch) | |
tree | e035f870b86f930876a5ced2c1e2be9f6a087a91 /src/core/gdbstub | |
parent | core: Remove HLE module, consolidate code & various cleanups. (diff) | |
download | yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.gz yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.bz2 yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.lz yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.xz yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.zst yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/gdbstub/gdbstub.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp index 9acdd402b..c75d5fc5e 100644 --- a/src/core/gdbstub/gdbstub.cpp +++ b/src/core/gdbstub/gdbstub.cpp @@ -30,12 +30,12 @@ #include <unistd.h> #endif -#include "core/loader/loader.h" #include "common/logging/log.h" #include "common/string_util.h" #include "core/arm/arm_interface.h" #include "core/core.h" #include "core/gdbstub/gdbstub.h" +#include "core/loader/loader.h" #include "core/memory.h" const int GDB_BUFFER_SIZE = 10000; @@ -629,7 +629,7 @@ static void WriteRegisters() { i += 2; } else if (reg > CPSR_REGISTER && reg < FPSCR_REGISTER) { Core::AppCore().SetVFPReg(reg - CPSR_REGISTER - 1, - GdbHexToInt(buffer_ptr + i * CHAR_BIT)); + GdbHexToInt(buffer_ptr + i * CHAR_BIT)); i++; // Skip padding } else if (reg == FPSCR_REGISTER) { Core::AppCore().SetVFPSystemReg(VFP_FPSCR, GdbHexToInt(buffer_ptr + i * CHAR_BIT)); |