citra-emu
/
citra
Archived
1
0
Fork 0

movie: fix default value in StartPlayback

This commit is contained in:
zhupengfei 2018-09-30 14:26:38 +08:00
parent ae5c658997
commit 9d142f981d
No known key found for this signature in database
GPG Key ID: 85B82A3E62174206
2 changed files with 2 additions and 2 deletions

View File

@ -339,7 +339,7 @@ int main(int argc, char** argv) {
} }
if (!movie_play.empty()) { if (!movie_play.empty()) {
Core::Movie::GetInstance().StartPlayback(movie_play, [] {}); Core::Movie::GetInstance().StartPlayback(movie_play);
} }
if (!movie_record.empty()) { if (!movie_record.empty()) {
Core::Movie::GetInstance().StartRecording(movie_record); Core::Movie::GetInstance().StartRecording(movie_record);

View File

@ -42,7 +42,7 @@ public:
} }
void StartPlayback(const std::string& movie_file, void StartPlayback(const std::string& movie_file,
std::function<void()> completion_callback = {}); std::function<void()> completion_callback = [] {});
void StartRecording(const std::string& movie_file); void StartRecording(const std::string& movie_file);
/// Prepare to override the clock before playing back movies /// Prepare to override the clock before playing back movies