1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +00:00

Allow DMAState::FetchStopAndControl on y == v_stop_.

This commit is contained in:
Thomas Harte 2021-11-25 14:29:12 -05:00
parent 276cbfa505
commit 0ab5177637
2 changed files with 2 additions and 2 deletions

View File

@ -1121,7 +1121,7 @@ void Chipset::Sprite::set_image_data(int slot, uint16_t value) {
bool Chipset::Sprite::advance_dma(int y) {
visible |= (y == v_start_);
if(y == v_stop_) {
if(y == v_stop_ && dma_state_ > DMAState::FetchStopAndControl) {
dma_state_ = DMAState::FetchStart;
}
if(!visible) return false;

View File

@ -62,7 +62,7 @@
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Release"
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
enableASanStackUseAfterReturn = "YES"