added breakpoints
This commit is contained in:
parent
53a7baf91f
commit
1220631e7e
23 changed files with 303 additions and 220 deletions
|
@ -4,7 +4,8 @@
|
|||
#include <fstream>
|
||||
#include "../Cartridge.hpp"
|
||||
|
||||
Mapper000::Mapper000(Header& header, std::ifstream& ifs)
|
||||
Mapper000::Mapper000(const Header& header, std::ifstream& ifs) :
|
||||
Mapper(header)
|
||||
{
|
||||
LOG_CORE_INFO("Allocating PRG ROM");
|
||||
PRG_ROM = std::vector<Byte>(0x4000);
|
||||
|
|
|
@ -10,7 +10,7 @@ class Mapper000 :
|
|||
public Mapper
|
||||
{
|
||||
public:
|
||||
Mapper000(Header& header, std::ifstream& ifs);
|
||||
Mapper000(const Header& header, std::ifstream& ifs);
|
||||
|
||||
virtual Byte ReadCPU(Word addr) override;
|
||||
virtual Byte ReadPPU(Word addr) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue