diff options
author | bunnei <bunneidev@gmail.com> | 2018-11-27 05:19:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-27 05:19:40 +0100 |
commit | 11c17465d812fce65c4b2ba79ea84d7f43a7328f (patch) | |
tree | 7fd4c5fb9fb27be6e634f924e3f94a43a125bb19 /src/core/gdbstub/gdbstub.cpp | |
parent | Merge pull request #1805 from lioncash/resource (diff) | |
parent | gdbstub: Silence value truncation warning within FpuWrite() (diff) | |
download | yuzu-11c17465d812fce65c4b2ba79ea84d7f43a7328f.tar yuzu-11c17465d812fce65c4b2ba79ea84d7f43a7328f.tar.gz yuzu-11c17465d812fce65c4b2ba79ea84d7f43a7328f.tar.bz2 yuzu-11c17465d812fce65c4b2ba79ea84d7f43a7328f.tar.lz yuzu-11c17465d812fce65c4b2ba79ea84d7f43a7328f.tar.xz yuzu-11c17465d812fce65c4b2ba79ea84d7f43a7328f.tar.zst yuzu-11c17465d812fce65c4b2ba79ea84d7f43a7328f.zip |
Diffstat (limited to 'src/core/gdbstub/gdbstub.cpp')
-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 687dea409..e6b5171ee 100644 --- a/src/core/gdbstub/gdbstub.cpp +++ b/src/core/gdbstub/gdbstub.cpp @@ -282,7 +282,7 @@ static void FpuWrite(std::size_t id, u128 val, Kernel::Thread* thread = nullptr) if (id >= UC_ARM64_REG_Q0 && id < FPCR_REGISTER) { thread_context.vector_registers[id - UC_ARM64_REG_Q0] = val; } else if (id == FPCR_REGISTER) { - thread_context.fpcr = val[0]; + thread_context.fpcr = static_cast<u32>(val[0]); } } |