mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-25 04:32:38 +02:00
Fix validation typo (closes #7)
This commit is contained in:
parent
49d2188f6f
commit
37c41f6324
@ -320,7 +320,7 @@ struct Validator {
|
|||||||
} else {
|
} else {
|
||||||
if constexpr (argT == ArgType::OutPointerServerSize) {
|
if constexpr (argT == ArgType::OutPointerServerSize) {
|
||||||
total_c_size += T::num_elements * sizeof(T);
|
total_c_size += T::num_elements * sizeof(T);
|
||||||
} else if constexpr (argT == ArgType::OutPointerServerSize) {
|
} else if constexpr (argT == ArgType::OutPointerClientSize) {
|
||||||
total_c_size += *((u16 *)((uintptr_t)(ctx->request.Raw) + 0x10 + cur_c_size_offset));
|
total_c_size += *((u16 *)((uintptr_t)(ctx->request.Raw) + 0x10 + cur_c_size_offset));
|
||||||
cur_c_size_offset += sizeof(u16);
|
cur_c_size_offset += sizeof(u16);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user