diff --git a/src/libretro/UtilRetro.h b/src/libretro/UtilRetro.h index 6910f506..edf4df79 100644 --- a/src/libretro/UtilRetro.h +++ b/src/libretro/UtilRetro.h @@ -20,11 +20,16 @@ extern bool skipSaveGameBattery; extern bool skipSaveGameCheats; #define MAX_CHEATS 100 -const char gb_image_header[]={ -0xce, 0xed, 0x66, 0x66, 0xcc, 0x0d, 0x00, 0x0b, 0x03, 0x73, 0x00, -0x83, 0x00, 0x0c, 0x00, 0x0d, 0x00, 0x08, 0x11, 0x1f, 0x88, 0x89, -0x00, 0x0e, 0xdc, 0xcc, 0x6e, 0xe6, 0xdd, 0xdd, 0xd9, 0x99, 0xbb, -0xbb, 0x67, 0x63, 0x6e, 0x0e, 0xec, 0xcc, 0xdd, 0xdc, 0x99, 0x9f, -0xbb, 0xb9, 0x33, 0x3e}; +const char gb_image_header[] = +{ + static_cast + ( + 0xce, 0xed, 0x66, 0x66, 0xcc, 0x0d, 0x00, 0x0b, 0x03, 0x73, 0x00, + 0x83, 0x00, 0x0c, 0x00, 0x0d, 0x00, 0x08, 0x11, 0x1f, 0x88, 0x89, + 0x00, 0x0e, 0xdc, 0xcc, 0x6e, 0xe6, 0xdd, 0xdd, 0xd9, 0x99, 0xbb, + 0xbb, 0x67, 0x63, 0x6e, 0x0e, 0xec, 0xcc, 0xdd, 0xdc, 0x99, 0x9f, + 0xbb, 0xb9, 0x33, 0x3e + ) +}; #endif // _VBA_UTIL_RETRO_H