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: case NBIO_STATUS_TRANSFER_PARSE:
if (task_file_transfer_iterate_parse(nbio) == -1) if (task_file_transfer_iterate_parse(nbio) == -1)
task_set_cancelled(task, true); task_set_cancelled(task, true);
nbio->status = NBIO_STATUS_TRANSFER_PARSE_FREE; nbio->status = NBIO_STATUS_TRANSFER_FINISHED;
break; break;
case NBIO_STATUS_TRANSFER: case NBIO_STATUS_TRANSFER:
if (task_file_transfer_iterate_transfer(nbio) == -1) if (task_file_transfer_iterate_transfer(nbio) == -1)
nbio->status = NBIO_STATUS_TRANSFER_PARSE; nbio->status = NBIO_STATUS_TRANSFER_PARSE;
break; break;
case NBIO_STATUS_TRANSFER_PARSE_FREE: case NBIO_STATUS_TRANSFER_FINISHED:
default:
break; break;
} }

View File

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