ro: reduce memory usage by excising (unused) std::malloc

This commit is contained in:
Michael Scire 2021-01-17 22:23:19 -08:00 committed by SciresM
parent 170034aed3
commit 5191f0e305
6 changed files with 47 additions and 7 deletions

View file

@ -37,7 +37,7 @@ namespace ams::os::impl {
return ResultSuccess();
}
Result ReplyAndReceiveN(s32 *out_index, s32 num, Handle arr[], s32 array_size, s64 ns, Handle reply_target) {
Result WaitableManagerHorizonImpl::ReplyAndReceiveN(s32 *out_index, s32 num, Handle arr[], s32 array_size, s64 ns, Handle reply_target) {
/* NOTE: Nintendo does not initialize this value, which seems like it can cause incorrect behavior. */
s32 index = WaitableManagerImpl::WaitInvalid;
static_assert(WaitableManagerImpl::WaitInvalid != -1);