mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-31 13:50:46 +01:00
`unveil<>` renamed to `fmt_unveil<>`, now packs args to u64 imitating va_args `bijective...` removed, `cfg::enum_entry` now uses formatting system `fmt_class_string<>` added, providing type-specific "%s" handler function Added `fmt::append`, removed `fmt::narrow` (too obscure) Utilities/cfmt.h: C-style format template function (WIP) Minor formatting fixes and cleanup
18 lines
476 B
C++
18 lines
476 B
C++
#pragma once
|
|
|
|
#include "ARMv7Function.h"
|
|
|
|
namespace vm
|
|
{
|
|
template<typename AT, typename RT, typename... T>
|
|
FORCE_INLINE RT _ptr_base<RT(T...), AT>::operator()(ARMv7Thread& cpu, T... args) const
|
|
{
|
|
return arm_func_detail::func_caller<RT, T...>::call(cpu, vm::cast(this->addr(), HERE), args...);
|
|
}
|
|
}
|
|
|
|
template<typename RT, typename... T> inline RT cb_call(ARMv7Thread& cpu, u32 addr, T... args)
|
|
{
|
|
return arm_func_detail::func_caller<RT, T...>::call(cpu, addr, args...);
|
|
}
|