Uses renamed DeltaCore AudioManager/VideoManager.isEnabled property
This commit is contained in:
parent
d0ada56b92
commit
5a39263cb8
@ -1 +1 @@
|
||||
Subproject commit 670a55012fcba808416e85cc7fa66a0ba135ab1d
|
||||
Subproject commit 1e23a6c74680122a59b6a63c83b722d7d8e82a3c
|
||||
@ -275,12 +275,12 @@ extension GameViewController
|
||||
if self.resumeEmulation()
|
||||
{
|
||||
// Temporarily disable audioManager to prevent delayed audio bug when using 3D Touch Peek & Pop
|
||||
self.emulatorCore?.audioManager.enabled = false
|
||||
self.emulatorCore?.audioManager.isEnabled = false
|
||||
|
||||
// Re-enable after delay
|
||||
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
|
||||
self.emulatorCore?.audioManager.enabled = true
|
||||
self.emulatorCore?.audioManager.isEnabled = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -525,7 +525,7 @@ private extension SaveStatesViewController
|
||||
if let emulatorCore = self.emulatorCore
|
||||
{
|
||||
// Temporarily disable video rendering to prevent flickers
|
||||
emulatorCore.videoManager.enabled = false
|
||||
emulatorCore.videoManager.isEnabled = false
|
||||
|
||||
// Load the save state we stored a reference to
|
||||
emulatorCore.start()
|
||||
@ -548,7 +548,7 @@ private extension SaveStatesViewController
|
||||
}
|
||||
|
||||
// Re-enable video rendering
|
||||
emulatorCore.videoManager.enabled = true
|
||||
emulatorCore.videoManager.isEnabled = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user