1
0
Fork 0

Quick fix for dma channel 0 having no page porthandler.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4165
This commit is contained in:
Peter Veenstra 2018-09-29 16:17:36 +00:00
parent 52d5501842
commit f522e81d32
2 changed files with 9 additions and 3 deletions

View file

@ -86,8 +86,8 @@ private:
bool flipflop;
DmaChannel *DmaChannels[4];
public:
IO_ReadHandleObject DMA_ReadHandler[0x11];
IO_WriteHandleObject DMA_WriteHandler[0x11];
IO_ReadHandleObject DMA_ReadHandler[0x12];
IO_WriteHandleObject DMA_WriteHandler[0x12];
DmaController(Bit8u num) {
flipflop = false;
ctrlnum = num; /* first or second DMA controller */