libgme: Fix yellow in hosted MIPS builds

Change-Id: I6d25c014cc519ddc5d1619c25d48331f512c2f2f
This commit is contained in:
Solomon Peachy 2020-10-28 07:30:10 -04:00
parent 41a6da6043
commit 621e363e70

View file

@ -152,6 +152,7 @@ blargg_err_t Info_load( struct Nsfe_Info* this, void* data, long size, struct Ns
{
// read size and tag
byte block_header [2] [4];
memset(block_header, 0, sizeof(block_header));
RETURN_ERR( in_read( block_header, sizeof block_header, data, &offset, size ) );
int chunk_size = get_le32( block_header [0] );