Remove NBIO_STATUS_TRANSFER_PARSE_FREE to NBIO_STATUS_TRANSFER_FINISHED

This commit is contained in:
twinaphex 2017-05-18 00:39:39 +02:00
parent 4ad8d3c917
commit b3faed3906
2 changed files with 3 additions and 4 deletions

View File

@ -90,14 +90,13 @@ void task_file_load_handler(retro_task_t *task)
case NBIO_STATUS_TRANSFER_PARSE:
if (task_file_transfer_iterate_parse(nbio) == -1)
task_set_cancelled(task, true);
nbio->status = NBIO_STATUS_TRANSFER_PARSE_FREE;
nbio->status = NBIO_STATUS_TRANSFER_FINISHED;
break;
case NBIO_STATUS_TRANSFER:
if (task_file_transfer_iterate_transfer(nbio) == -1)
nbio->status = NBIO_STATUS_TRANSFER_PARSE;
break;
case NBIO_STATUS_TRANSFER_PARSE_FREE:
default:
case NBIO_STATUS_TRANSFER_FINISHED:
break;
}

View File

@ -51,7 +51,7 @@ enum nbio_status_enum
NBIO_STATUS_INIT = 0,
NBIO_STATUS_TRANSFER,
NBIO_STATUS_TRANSFER_PARSE,
NBIO_STATUS_TRANSFER_PARSE_FREE
NBIO_STATUS_TRANSFER_FINISHED
};
enum nbio_status_flags