mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-07 06:58:15 +01:00
clang support
This commit is contained in:
parent
8449deb0bc
commit
619b451902
6 changed files with 5 additions and 6 deletions
|
|
@ -57,7 +57,7 @@ private:
|
|||
}
|
||||
};
|
||||
|
||||
Jit::Jit(UserCallbacks callbacks) : callbacks(callbacks), impl(std::make_unique<Impl>(this, callbacks)) {}
|
||||
Jit::Jit(UserCallbacks callbacks) : impl(std::make_unique<Impl>(this, callbacks)) {}
|
||||
|
||||
Jit::~Jit() {}
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ CodePtr Routines::RunCodeReturnAddress() const {
|
|||
}
|
||||
|
||||
void Routines::GenRunCode() {
|
||||
run_code = reinterpret_cast<RunCodeFuncType>(this->GetCodePtr());
|
||||
run_code = reinterpret_cast<RunCodeFuncType>(const_cast<u8*>(this->GetCodePtr()));
|
||||
|
||||
// This serves two purposes:
|
||||
// 1. It saves all the registers we as a callee need to save.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue