mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 09:32:58 +00:00
(iOS) Buildfix
This commit is contained in:
parent
93b7dc1bdd
commit
43b931129d
@ -142,7 +142,7 @@ static void dump_content(RFILE *file, const void *frame,
|
|||||||
{
|
{
|
||||||
uint8_t *line;
|
uint8_t *line;
|
||||||
size_t line_size;
|
size_t line_size;
|
||||||
int i, j;
|
int j;
|
||||||
int bytes_per_pixel = (type==RBMP_SOURCE_TYPE_ARGB8888?4:3);
|
int bytes_per_pixel = (type==RBMP_SOURCE_TYPE_ARGB8888?4:3);
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
|
@ -129,7 +129,7 @@ static bool screenshot_dump(const char *folder, const void *frame,
|
|||||||
if (bgr24)
|
if (bgr24)
|
||||||
bmp_type = RBMP_SOURCE_TYPE_BGR24;
|
bmp_type = RBMP_SOURCE_TYPE_BGR24;
|
||||||
else if (video_driver_get_pixel_format() == RETRO_PIXEL_FORMAT_XRGB8888)
|
else if (video_driver_get_pixel_format() == RETRO_PIXEL_FORMAT_XRGB8888)
|
||||||
bmp_type = RBMP_SOURCE_TYPE_XRGB8888;
|
bmp_type = RBMP_SOURCE_TYPE_XRGB888;
|
||||||
|
|
||||||
ret = rbmp_save_image(filename,
|
ret = rbmp_save_image(filename,
|
||||||
frame,
|
frame,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user