mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-09 20:59:06 +00:00
Adding shadows
This commit is contained in:
+9
-4
@@ -8,15 +8,20 @@
|
||||
#include "Memory/MemoryBus.hpp"
|
||||
#include "CPU/CPU.hpp"
|
||||
#include "Cartridge/Cartridge.hpp"
|
||||
#include "Ram/Ram.hpp"
|
||||
#include "PPU/PPU.hpp"
|
||||
#include "APU/APU.hpp"
|
||||
|
||||
namespace ComSquare
|
||||
{
|
||||
//! @brief Container of all the components of the SNES.
|
||||
class SNES {
|
||||
private:
|
||||
CPU::CPU _cpu;
|
||||
Cartridge::Cartridge _cartridge;
|
||||
struct SNES {
|
||||
public:
|
||||
std::shared_ptr<CPU::CPU> cpu;
|
||||
std::shared_ptr<PPU::PPU> ppu;
|
||||
std::shared_ptr<APU::APU> apu;
|
||||
std::shared_ptr<Cartridge::Cartridge> cartridge;
|
||||
std::shared_ptr<Ram::Ram> wram;
|
||||
//! @brief Create all the components using a common memory bus for all of them.
|
||||
SNES(const std::shared_ptr<MemoryBus> &bus, const std::string &ramPath);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user