Browse Source
[dynarmic/tests] fix dynarmic_test_generator link error
Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/2906/head
lizzie
3 months ago
No known key found for this signature in database
GPG Key ID: 287378CADCAB13
2 changed files with
7 additions and
1 deletions
-
src/dynarmic/src/dynarmic/backend/arm64/a64_interface.cpp
-
src/dynarmic/src/dynarmic/backend/x64/a32_interface.cpp
|
|
|
@ -152,7 +152,9 @@ struct Jit::Impl final { |
|
|
|
} |
|
|
|
|
|
|
|
std::string Disassemble() const { |
|
|
|
UNREACHABLE(); |
|
|
|
const size_t size = reinterpret_cast<const char*>(block_of_code.getCurr()) - reinterpret_cast<const char*>(block_of_code.GetCodeBegin()); |
|
|
|
auto const* p = reinterpret_cast<const char*>(block_of_code.GetCodeBegin()); |
|
|
|
return Common::DisassembleX64(p, p + size); |
|
|
|
} |
|
|
|
|
|
|
|
private: |
|
|
|
|
|
|
|
@ -323,4 +323,8 @@ void Jit::ClearExclusiveState() { |
|
|
|
impl->ClearExclusiveState(); |
|
|
|
} |
|
|
|
|
|
|
|
std::string Jit::Disassemble() const { |
|
|
|
return impl->Disassemble(); |
|
|
|
} |
|
|
|
|
|
|
|
} // namespace Dynarmic::A32
|