mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-09 23:57:59 +00:00
fx
This commit is contained in:
parent
3b62c1f5ac
commit
be9c7b2f1c
|
|
@ -41,14 +41,14 @@ static std::optional<ReturnType> DecodeArm(V& visitor, u32 instruction) noexcept
|
|||
for (size_t i = 0; i < t.size(); ++i) {
|
||||
#define INST(fn, name, bitstring) \
|
||||
do { \
|
||||
auto const [mask, expect] = DYNARMIC_DECODER_GET_MATCHER(ArmMatcher, fn, name, Decoder::detail::StringToArray<32>(bitstring)); \
|
||||
auto const [mask, expect] = DYNARMIC_DECODER_GET_MATCHER(Matcher, fn, name, Decoder::detail::StringToArray<32>(bitstring)); \
|
||||
if ((i & make_fast_index(mask)) == make_fast_index(expect)) { \
|
||||
t[i].emplace_back([](V& visitor, u32 instruction) -> bool { \
|
||||
return DYNARMIC_DECODER_GET_MATCHER_FUNCTION(ArmMatcher, fn, name, Decoder::detail::StringToArray<32>(bitstring)); \
|
||||
return DYNARMIC_DECODER_GET_MATCHER_FUNCTION(Matcher, fn, name, Decoder::detail::StringToArray<32>(bitstring)); \
|
||||
}, mask, expect); \
|
||||
} \
|
||||
} while (0);
|
||||
#include "./arm.inc"
|
||||
#include "./a64.inc"
|
||||
#undef INST
|
||||
}
|
||||
return t;
|
||||
|
|
|
|||
Loading…
Reference in a new issue