libretro / mupen64plus-libretro

Mupen64 Plus libretro core that stays compatible with upstream.
GNU General Public License v2.0
35 stars 34 forks source link

GLideN64: fix build on FreeBSD (remove malloc.h) #50

Closed valpackett closed 6 years ago

valpackett commented 6 years ago

The deprecated malloc.h header causes a build error on modern FreeBSD.

In DepthBuffer.cpp, malloc is not actually used (double checked with include-what-you-use), so I just removed it.

In TxUtil.cpp, switched to standard stdlib.h.