mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-21 10:15:28 +00:00
Fix spurious error message in init_movie()
g_extern.bsv.movie was checked before bsv_movie_init, resulting in failure report even if recording succeeded.
This commit is contained in:
parent
b913ddce8d
commit
bf47ceef2b
@ -1680,18 +1680,19 @@ static void init_movie(void)
|
||||
g_extern.bsv.movie_start_path);
|
||||
|
||||
msg_queue_clear(g_extern.msg_queue);
|
||||
msg_queue_push(g_extern.msg_queue,
|
||||
g_extern.bsv.movie ? msg : "Failed to start movie record.", 1, 180);
|
||||
|
||||
if ((g_extern.bsv.movie = bsv_movie_init(g_extern.bsv.movie_start_path,
|
||||
RARCH_MOVIE_RECORD)))
|
||||
{
|
||||
msg_queue_push(g_extern.msg_queue, msg, 1, 180);
|
||||
RARCH_LOG("Starting movie record to \"%s\".\n",
|
||||
g_extern.bsv.movie_start_path);
|
||||
g_settings.rewind_granularity = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
msg_queue_push(g_extern.msg_queue, "Failed to start movie record.", 1, 180);
|
||||
RARCH_ERR("Failed to start movie record.\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user