mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-04 13:44:31 +01:00
mp: Migrate to shared version of mp library
This commit is contained in:
parent
66fa4a0b54
commit
81fcb4e537
23 changed files with 92 additions and 575 deletions
|
|
@ -10,9 +10,10 @@
|
|||
#include <array>
|
||||
#include <tuple>
|
||||
|
||||
#include <mp/traits/function_info.h>
|
||||
|
||||
#include "common/assert.h"
|
||||
#include "common/bit_util.h"
|
||||
#include "common/mp/function_info.h"
|
||||
|
||||
namespace Dynarmic::Decoder {
|
||||
namespace detail {
|
||||
|
|
@ -152,7 +153,7 @@ public:
|
|||
*/
|
||||
template<typename FnT>
|
||||
static auto GetMatcher(FnT fn, const char* const name, const char* const bitstring) {
|
||||
constexpr size_t args_count = Common::mp::FunctionInfo<FnT>::args_count;
|
||||
constexpr size_t args_count = mp::parameter_count_v<FnT>;
|
||||
using Iota = std::make_index_sequence<args_count>;
|
||||
|
||||
const auto [mask, expect] = GetMaskAndExpect(bitstring);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue