From 9eaddec9c744f4a5180c28540f264affb0b6f703 Mon Sep 17 00:00:00 2001 From: Sour Date: Mon, 25 Dec 2017 23:38:05 -0500 Subject: [PATCH] FDS: Disable auto-insert disk when playing/recording movies --- Core/FDS.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/FDS.cpp b/Core/FDS.cpp index 4f07a0f9..3de3607b 100644 --- a/Core/FDS.cpp +++ b/Core/FDS.cpp @@ -6,6 +6,7 @@ #include "FdsAudio.h" #include "MemoryManager.h" #include "BatteryManager.h" +#include "MovieManager.h" void FDS::InitMapper() { @@ -511,5 +512,5 @@ bool FDS::IsDiskInserted() bool FDS::IsAutoInsertDiskEnabled() { - return !_disableAutoInsertDisk && EmulationSettings::CheckFlag(EmulationFlags::FdsAutoInsertDisk); + return !_disableAutoInsertDisk && EmulationSettings::CheckFlag(EmulationFlags::FdsAutoInsertDisk) && !MovieManager::Playing() && !MovieManager::Recording(); } \ No newline at end of file