Skip to content

Commit

Permalink
Fix Dirt Devils hanging during boot
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtBagXon committed May 23, 2024
1 parent d7b64a9 commit fdbbec5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Src/Model3/Model3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1416,8 +1416,12 @@ void CModel3::Write8(UINT32 addr, UINT8 data)
SoundBoard.WriteMIDIPort(data);
IRQ.Deassert(0x40);
}
else if ((addr&0xF) == 4) // MIDI control port
else if ((addr & 0xF) == 4) // MIDI control port
{
midiCtrlPort = data;
if ((data & 0x20) == 0)
IRQ.Deassert(0x40);
}
break;

// Backup RAM
Expand Down
2 changes: 1 addition & 1 deletion Src/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#define INCLUDED_VERSION_H

#ifndef SUPERMODEL_VERSION
#define SUPERMODEL_VERSION "0.3a-dc5f844-arm-mm DirtBagXon (Sinden)"
#define SUPERMODEL_VERSION "0.3a-7d32bde-arm-mm DirtBagXon (Sinden)"
#endif

#endif // INCLUDED_VERSION_H

0 comments on commit fdbbec5

Please sign in to comment.