From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/Misc/Allocator.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Runtime/Misc/Allocator.h (limited to 'Runtime/Misc/Allocator.h') diff --git a/Runtime/Misc/Allocator.h b/Runtime/Misc/Allocator.h new file mode 100644 index 0000000..88480ca --- /dev/null +++ b/Runtime/Misc/Allocator.h @@ -0,0 +1,17 @@ +#ifndef UNITY_CUSTOM_ALLOCATOR_H_ +#define UNITY_CUSTOM_ALLOCATOR_H_ + + + +#if UNITY_WII +# define MemPool1 0 +# define MemPool2 1 +#elif UNITY_XENON +# define MemPool1 0 +# define MemPool2 0 +#else +# define MemPool1 0 +# define MemPool2 1 +#endif + +#endif // UNITY_CUSTOM_ALLOCATOR_H_ -- cgit v1.1-26-g67d0