CDROM: Reads appear to be functioning

This commit is contained in:
Connor McLaughlin
2019-09-22 01:12:16 +10:00
parent c988af453c
commit 2875a22987
8 changed files with 418 additions and 66 deletions

View File

@@ -7,6 +7,7 @@ class StateWrapper;
class Bus;
class GPU;
class CDROM;
class DMA
{
@@ -30,7 +31,7 @@ public:
DMA();
~DMA();
bool Initialize(Bus* bus, GPU* gpu);
bool Initialize(Bus* bus, GPU* gpu, CDROM* cdrom);
void Reset();
bool DoState(StateWrapper& sw);
@@ -63,6 +64,7 @@ private:
Bus* m_bus = nullptr;
GPU* m_gpu = nullptr;
CDROM* m_cdrom = nullptr;
struct ChannelState
{