mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
Cancel task instead
This commit is contained in:
parent
7aadde73d8
commit
d53b245528
@ -70,7 +70,7 @@ void rarch_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)
|
||||||
goto task_finished;
|
task->cancelled = true;
|
||||||
nbio->status = NBIO_STATUS_TRANSFER_PARSE_FREE;
|
nbio->status = NBIO_STATUS_TRANSFER_PARSE_FREE;
|
||||||
break;
|
break;
|
||||||
case NBIO_STATUS_TRANSFER:
|
case NBIO_STATUS_TRANSFER:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user