mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
use_thread option for screenshot was backwards
This commit is contained in:
parent
ea87bb5a1d
commit
23836bfba9
@ -260,14 +260,14 @@ static bool screenshot_dump(
|
||||
task->handler = task_screenshot_handler;
|
||||
|
||||
if (use_thread)
|
||||
return screenshot_dump_direct(state);
|
||||
else
|
||||
{
|
||||
if (!savestate)
|
||||
task->title = strdup(msg_hash_to_str(MSG_TAKING_SCREENSHOT));
|
||||
task->title = strdup(msg_hash_to_str(MSG_TAKING_SCREENSHOT));
|
||||
|
||||
task_queue_push(task);
|
||||
}
|
||||
else
|
||||
return screenshot_dump_direct(state);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user