14eca982f4
This also adds some basic memory usage accounting. These two types are used by Super Smash Bros. during startup.