From baa14ae213d24c491419ad34b1e77738d7f08d6d Mon Sep 17 00:00:00 2001 From: Joe Osborn Date: Fri, 20 Jan 2023 09:20:10 -0800 Subject: [PATCH] Fix #14870 (#14871) * Don't start video recording when BSV recording starts * Don't double-record inputs in BSV recording - Will this work properly with the part of input handling outside of input_state_wrap? Who knows? Co-authored-by: Joseph C. Osborn --- input/input_driver.c | 10 ---------- retroarch.c | 4 ---- 2 files changed, 14 deletions(-) diff --git a/input/input_driver.c b/input/input_driver.c index 9d27749811..0131f801f8 100644 --- a/input/input_driver.c +++ b/input/input_driver.c @@ -5735,16 +5735,6 @@ int16_t input_state_internal(unsigned port, unsigned device, result |= port_result; } -#ifdef HAVE_BSV_MOVIE - /* Save input to BSV record, if enabled */ - if (BSV_MOVIE_IS_PLAYBACK_OFF()) - { - result = swap_if_big16(result); - intfstream_write( - input_st->bsv_movie_state_handle->file, &result, 2); - } -#endif - return result; } diff --git a/retroarch.c b/retroarch.c index dd15236af1..fc7619a8dd 100644 --- a/retroarch.c +++ b/retroarch.c @@ -2153,10 +2153,6 @@ bool command_event(enum event_command cmd, void *data) { #ifdef HAVE_BSV_MOVIE input_driver_state_t *input_st = input_state_get_ptr(); - if (!recording_st->enable) - command_event(CMD_EVENT_RECORD_INIT, NULL); - else - command_event(CMD_EVENT_RECORD_DEINIT, NULL); bsv_movie_check(input_st, settings); #endif }