mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-25 02:39:40 +00:00
Fix handling of max packed arguments
This commit is contained in:
parent
0cda806dcc
commit
534bff7d31
@ -1488,9 +1488,8 @@ class arg_store {
|
||||
Array data_;
|
||||
|
||||
public:
|
||||
static const uint64_t TYPES =
|
||||
NUM_ARGS <= internal::MAX_PACKED_ARGS ?
|
||||
internal::get_types<Args..., void>() : -static_cast<int64_t>(NUM_ARGS);
|
||||
static const uint64_t TYPES = IS_PACKED ?
|
||||
internal::get_types<Args..., void>() : -static_cast<int64_t>(NUM_ARGS);
|
||||
|
||||
arg_store(const Args &... args)
|
||||
: data_(Array{{internal::make_arg<IS_PACKED, Context>(args)...}}) {}
|
||||
|
Loading…
Reference in New Issue
Block a user