mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Merge pull request #8216 from orbea/32
Better warning fix for 32-bit linux.
This commit is contained in:
commit
9e5a9baa66
@ -1297,7 +1297,7 @@ RETRO_API bool VIDEOPROC_CORE_PREFIX(retro_load_game)(const struct retro_game_in
|
|||||||
}
|
}
|
||||||
|
|
||||||
printf("Allocated %" PRI_SIZET " byte conversion buffer\n",
|
printf("Allocated %" PRI_SIZET " byte conversion buffer\n",
|
||||||
video_cap_width * video_cap_height * sizeof(uint32_t));
|
(size_t)(video_cap_width * video_cap_height) * sizeof(uint32_t));
|
||||||
|
|
||||||
pixel_format = RETRO_PIXEL_FORMAT_XRGB8888;
|
pixel_format = RETRO_PIXEL_FORMAT_XRGB8888;
|
||||||
if (!VIDEOPROC_CORE_PREFIX(environment_cb)(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &pixel_format))
|
if (!VIDEOPROC_CORE_PREFIX(environment_cb)(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &pixel_format))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user