Unverified Commit ae87a3bf authored by Mahyar Koshkouei's avatar Mahyar Koshkouei
Browse files

snes9x: fix headercount increment


Signed-off-by: default avatarMahyar Koshkouei <mk@deltabeard.com>
parent d4bb5c64
......@@ -745,7 +745,7 @@ static uint32 HeaderRemove (uint32 size, int32 * headerCount, uint8 *buf)
if (size - calc_size == 512)
{
memmove(buf, buf + 512, calc_size);
*(headerCount)++;
(*headerCount)++;
size -= 512;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment