mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-23 03:02:04 +00:00

* Allow for both -e and -R to start a BSV file recording at a state The key issue is that loading a state takes some time, and the BSV recording shouldn't start until that's done. The minimal patch for this would just be a change to runloop.c which moves movie initialization after entry state loading, throwing in a task_queue_wait(). This makes for some awkward repeated autoload OSD messages and doesn't solve the underlying issue. Most of this change puts BSV recording start/stop into tasks, like saving and loading are tasks; this was important to centralize BSV operations a bit more and is the first part of a refactoring towards more robust input recording. The necessary wait is introduced in the begin-recording callback. Co-authored-by: Joseph C. Osborn <jcoa2018@pomona.edu>