summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorMichael Maltese <michaeljosephmaltese@gmail.com>2017-05-05 02:24:02 -0700
committerMichael Maltese <michaeljosephmaltese@gmail.com>2017-05-05 02:24:53 -0700
commit01cc36693a46abcdba7f129a7075836aaf49cef3 (patch)
treed20ea9db2f5f82e06aa5810b8c3749b68f6b48b3 /Source/Core
parente9571106c279b7fbb0c8ceef6915356cf32819b0 (diff)
Zelda-HLE: run pending commands when replacing ucode
Part 1/2 of a fix for using multiple GBAs in Four Swords Adventures.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp b/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp
index 2d7ab824f7..3dd922f183 100644
--- a/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp
+++ b/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp
@@ -208,6 +208,8 @@ void ZeldaUCode::HandleMailDefault(u32 mail)
switch (mail & 0xFFFF)
{
case 1:
+ m_cmd_can_execute = true;
+ RunPendingCommands();
NOTICE_LOG(DSPHLE, "UCode being replaced.");
m_upload_setup_in_progress = true;
SetMailState(MailState::HALTED);