1
0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2025-02-09 20:04:47 +01:00

Merge pull request from lioncash/cast

gdbstub: Silence value truncation warning within FpuWrite()
This commit is contained in:
bunnei 2018-11-26 23:19:40 -05:00 committed by GitHub
commit 11c17465d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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]);
}
}