mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-03 02:23:49 +00:00
Setting the window's name to the game's name
This commit is contained in:
+9
-1
@@ -11,19 +11,27 @@
|
||||
#include "Ram/Ram.hpp"
|
||||
#include "PPU/PPU.hpp"
|
||||
#include "APU/APU.hpp"
|
||||
#include "Renderer/IRenderer.hpp"
|
||||
|
||||
namespace ComSquare
|
||||
{
|
||||
//! @brief Container of all the components of the SNES.
|
||||
struct SNES {
|
||||
public:
|
||||
//! @brief Central Processing Unit of the SNES.
|
||||
std::shared_ptr<CPU::CPU> cpu;
|
||||
//! @brief Picture Processing Unit of the SNES
|
||||
std::shared_ptr<PPU::PPU> ppu;
|
||||
//! @brief Audio Processing Unit if the SNES
|
||||
std::shared_ptr<APU::APU> apu;
|
||||
//! @brief Cartridge containing instructions (ROM).
|
||||
std::shared_ptr<Cartridge::Cartridge> cartridge;
|
||||
//! @brief Work Ram shared by all the components.
|
||||
std::shared_ptr<Ram::Ram> wram;
|
||||
//! @brief Save Ram residing inside the Cartridge in a real SNES.
|
||||
std::shared_ptr<Ram::Ram> sram;
|
||||
//! @brief Create all the components using a common memory bus for all of them.
|
||||
SNES(const std::shared_ptr<Memory::MemoryBus> &bus, const std::string &ramPath);
|
||||
SNES(const std::shared_ptr<Memory::MemoryBus> &bus, const std::string &ramPath, Renderer::IRenderer &renderer);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user