libretro / gambatte-libretro

Hard fork of Gambatte to the libretro API.
http://sourceforge.net/projects/gambatte/
GNU General Public License v2.0
105 stars 79 forks source link

Convert bzero to memset and bcopy to memmove. #111

Closed alarixnia closed 6 years ago

alarixnia commented 6 years ago

On POSIX systems, to use bzero/bcopy you really should be including the non-C99 header , which the code currently doesn't, relying on transclusion of the needed headers.

For libretro purposes, it might as well use memset and memmove directly.

inactive123 commented 6 years ago

Yep, good call, I agree with these changes. Thanks for contributing!