Unhardcode some things (#589)

* fix malloc sizes of HuMemDirectMalloc calls

* unhardcode some things
This commit is contained in:
Rainchus 2025-05-13 20:19:59 -05:00 committed by GitHub
parent 086800b79a
commit ce57301435
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 48 additions and 47 deletions

View file

@ -1,6 +1,8 @@
#ifndef _TYPES_H_
#define _TYPES_H_
#define ARRAY_COUNT(arr) (s32)(sizeof(arr) / sizeof(arr[0]))
#include "dolphin/types.h"
#endif