Cleanup
This commit is contained in:
parent
d29e0a9969
commit
fe28f17eeb
|
@ -322,12 +322,11 @@ static void task_core_backup_handler(retro_task_t *task)
|
||||||
break;
|
break;
|
||||||
case CORE_BACKUP_ITERATE:
|
case CORE_BACKUP_ITERATE:
|
||||||
{
|
{
|
||||||
int64_t data_read = 0;
|
|
||||||
int64_t data_written = 0;
|
int64_t data_written = 0;
|
||||||
uint8_t buffer[CORE_BACKUP_CHUNK_SIZE];
|
uint8_t buffer[CORE_BACKUP_CHUNK_SIZE];
|
||||||
|
|
||||||
/* Read a single chunk from the core file */
|
/* Read a single chunk from the core file */
|
||||||
data_read = intfstream_read(backup_handle->core_file, buffer, sizeof(buffer));
|
int64_t data_read = intfstream_read(backup_handle->core_file, buffer, sizeof(buffer));
|
||||||
|
|
||||||
if (data_read < 0)
|
if (data_read < 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue