diff --git a/sources/APU/APU.hpp b/sources/APU/APU.hpp index af75bf3..0fa7f48 100644 --- a/sources/APU/APU.hpp +++ b/sources/APU/APU.hpp @@ -102,12 +102,19 @@ namespace ComSquare::APU }; + class DSP { + }; class APU : IMemory { private: Registers _registers; InternalRegisters _internalRegisters{}; public: + explicit APU(std::shared_ptr dsp); + + //! @brief The DSP component used to produce sound + std::shared_ptr _dsp; + //! @brief Read from the internal APU register. //! @param addr The address to read from. The address 0xF0 should refer to the first byte of the register. //! @throw InvalidAddress will be thrown if the address is more than $FF (the number of register).