Skip to content

Commit

Permalink
(Libretro) Maintenance update
Browse files Browse the repository at this point in the history
  • Loading branch information
twinaphex committed Oct 22, 2012
1 parent bd6e185 commit 2e529de
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libretro/libretro.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <stdint.h>
#include <stddef.h>
#include <limits.h>

// Hack applied for MSVC when compiling in C89 mode as it isn't C99 compliant.
#ifdef __cplusplus
Expand Down Expand Up @@ -380,7 +381,10 @@ enum retro_pixel_format
// RGB565, native endian. This pixel format is the recommended format to use if a 15/16-bit format is desired
// as it is the pixel format that is typically available on a wide range of low-power devices.
// It is also natively supported in APIs like OpenGL ES.
RETRO_PIXEL_FORMAT_RGB565 = 2
RETRO_PIXEL_FORMAT_RGB565 = 2,

// Ensure sizeof() == sizeof(int).
RETRO_PIXEL_FORMAT_UNKNOWN = INT_MAX
};

struct retro_message
Expand Down

0 comments on commit 2e529de

Please sign in to comment.