mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-02 04:34:43 +01:00
a32_interface/a64_interface: Change reinterpret_casts to static_casts in GetCurrentBlock thunks
It's well-defined to static_cast a void* to its proper type.
This commit is contained in:
parent
e71612d394
commit
edd0b5c8c7
2 changed files with 3 additions and 3 deletions
|
|
@ -107,8 +107,8 @@ struct Jit::Impl {
|
|||
private:
|
||||
Jit* jit_interface;
|
||||
|
||||
static CodePtr GetCurrentBlock(void *this_voidptr) {
|
||||
Jit::Impl& this_ = *reinterpret_cast<Jit::Impl*>(this_voidptr);
|
||||
static CodePtr GetCurrentBlock(void* this_voidptr) {
|
||||
Jit::Impl& this_ = *static_cast<Jit::Impl*>(this_voidptr);
|
||||
A32JitState& jit_state = this_.jit_state;
|
||||
|
||||
u32 pc = jit_state.Reg[15];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue