mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(RTGA) Lower raw_data size to 18 bytes and leave behind a comment
This commit is contained in:
parent
34636ed9f0
commit
1348faa209
@ -266,7 +266,9 @@ static uint8_t *rtga_tga_load(rtga_context *s,
|
||||
int RLE_repeating = 0;
|
||||
int RLE_count = 0;
|
||||
int read_next_pixel = 1;
|
||||
unsigned char raw_data[32] = {0};
|
||||
/* Needs to be at least 18 bytes to silence a GCC warning,
|
||||
* only 4 are actually used */
|
||||
unsigned char raw_data[18] = {0};
|
||||
unsigned char *tga_palette = NULL;
|
||||
|
||||
/* Do I need to load a palette? */
|
||||
|
Loading…
x
Reference in New Issue
Block a user