mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-23 08:49:47 +00:00
Cleanup
This commit is contained in:
parent
ab51d4671f
commit
1e6f9b53ee
@ -239,11 +239,6 @@ static int WriteStateChunk(StateMem *st, const char *sname, SFORMAT *sf)
|
||||
memset(sname_tmp, 0, sizeof(sname_tmp));
|
||||
memcpy((char *)sname_tmp, sname, (sname_len < 32) ? sname_len : 32);
|
||||
|
||||
#ifndef NDEBUG
|
||||
if(sname_len > 32)
|
||||
printf("Warning: section name is too long: %s\n", sname);
|
||||
#endif
|
||||
|
||||
smem_write(st, sname_tmp, 32);
|
||||
/* We'll come back and write this later. */
|
||||
smem_write32le(st, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user