Skip to content

Commit

Permalink
sh4: work around previous SCIF issues when loading a state
Browse files Browse the repository at this point in the history
Force SCIF_SCBRR2 to 8 bits when loading a state.
See e03e11b and
6115a91.
  • Loading branch information
flyinghead committed Dec 14, 2024
1 parent e5b1d56 commit 667e390
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/hw/sh4/modules/serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ void SCIFSerialPort::deserialize(Deserializer& deser)
statusLastRead = 0;
transmitting = false;
}
SCIF_SCBRR2 &= 0xff; // work around previous issues with dynarecs
updateBaudRate();
}

Expand Down

0 comments on commit 667e390

Please sign in to comment.