summaryrefslogtreecommitdiff
path: root/Externals/cpp-optparse/OptionParser.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-08-23 17:49:19 +0200
committerJosJuice <josjuice@gmail.com>2026-08-24 18:45:27 +0200
commitdcf9ca05dbe752153d5d78f768185e0f3506a02b (patch)
treefaeb5ea114c2b1d66e6d738cb72160763c3bbb4d /Externals/cpp-optparse/OptionParser.cpp
parentb3d74ab6022457bef29c08c26156a9ee145c0d76 (diff)
Core: Fix controllers resetting when starting input recording
200e26c added controller handling to MovieConfigLayerLoader's LoadFromDTM but not SaveToDTM. This caused a regression. When starting a new input recording, MovieManager::BeginRecordingInput calls SaveToDTM, which doesn't set the controller values in the DTM header to anything. Then it loads the newly created movie config layer, causing LoadFromDTM to be called, which in turn causes zeroed out controller values to be loaded from the DTM header. This leaves the player with all controllers set to None, making it impossible to control the game. To fix this, let's move the saving of controllers from MovieManager::SaveRecording to ConfigLoaders::SaveToDTM.
Diffstat (limited to 'Externals/cpp-optparse/OptionParser.cpp')
0 files changed, 0 insertions, 0 deletions