mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 09:18:40 +12:00
Formatting system improved
`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
This commit is contained in:
parent
662fce38bd
commit
5a36c57c57
63 changed files with 1305 additions and 469 deletions
|
@ -492,10 +492,12 @@ struct to_se<vm::_ptr_base<T, AT>, Se>
|
|||
|
||||
// Format pointer
|
||||
template<typename T, typename AT>
|
||||
struct unveil<vm::_ptr_base<T, AT>, void>
|
||||
struct fmt_unveil<vm::_ptr_base<T, AT>, void>
|
||||
{
|
||||
static inline auto get(const vm::_ptr_base<T, AT>& arg)
|
||||
using type = typename fmt_unveil<AT>::type;
|
||||
|
||||
static inline u64 get(const vm::_ptr_base<T, AT>& arg)
|
||||
{
|
||||
return unveil<AT>::get(arg.addr());
|
||||
return fmt_unveil<AT>::get(arg.addr());
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue