This commit is contained in:
twinaphex 2017-01-03 04:37:52 +01:00
parent 20d313204a
commit f6c861cf1a

View File

@ -247,11 +247,13 @@ static bool screenshot_dump(
}
#endif
task->type = TASK_TYPE_BLOCKING;
task->state = state;
task->handler = task_screenshot_handler;
task->type = TASK_TYPE_BLOCKING;
task->state = state;
task->handler = task_screenshot_handler;
if (!savestate)
task->title = strdup(msg_hash_to_str(MSG_TAKING_SCREENSHOT));
task_queue_ctl(TASK_QUEUE_CTL_PUSH, task);
return true;