| 639 | } |
| 640 | |
| 641 | static BYTE __stdcall IOWrite_C03x(WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nExecutedCycles) |
| 642 | { |
| 643 | if (GetCardMgr().GetVidHDCard()) |
| 644 | { |
| 645 | // NB. Writes to $C03x addresses will still toggle the speaker, even with a VidHD present |
| 646 | if (addr == 0xC034 || addr == 0xC035) |
| 647 | GetVideo().VideoSetMode(pc, addr, bWrite, d, nExecutedCycles); |
| 648 | } |
| 649 | |
| 650 | return SpkrToggle(pc, addr, bWrite, d, nExecutedCycles); |
| 651 | } |
| 652 | |
| 653 | //------------------------------------- |
| 654 |
nothing calls this directly
no test coverage detected