Mock Ppu class for testing. More...
Public Member Functions | |
MOCK_METHOD (void, Write,(uint16_t address, uint8_t data),(override)) | |
MOCK_METHOD (uint8_t, Read,(uint16_t address),(const, override)) | |
Public Member Functions inherited from yaze::app::emu::video::PpuInterface | |
virtual | ~PpuInterface ()=default |
virtual void | Write (uint16_t address, uint8_t data)=0 |
virtual uint8_t | Read (uint16_t address) const =0 |
Public Attributes | |
std::vector< uint8_t > | internalFrameBuffer |
std::vector< uint8_t > | vram |
std::vector< SpriteAttributes > | sprites |
std::vector< Tilemap > | tilemaps |
BackgroundMode | bgMode |
Mock Ppu class for testing.
Definition at line 25 of file ppu_test.cc.
yaze::test::emu::MockPpu::MOCK_METHOD | ( | void | , |
Write | , | ||
(uint16_t address, uint8_t data) | , | ||
(override) | ) |
yaze::test::emu::MockPpu::MOCK_METHOD | ( | uint8_t | , |
Read | , | ||
(uint16_t address) | , | ||
(const, override) | ) |
std::vector<uint8_t> yaze::test::emu::MockPpu::internalFrameBuffer |
Definition at line 30 of file ppu_test.cc.
std::vector<uint8_t> yaze::test::emu::MockPpu::vram |
Definition at line 31 of file ppu_test.cc.
Referenced by yaze::test::emu::PpuTest::SetUp().
std::vector<SpriteAttributes> yaze::test::emu::MockPpu::sprites |
Definition at line 32 of file ppu_test.cc.
std::vector<Tilemap> yaze::test::emu::MockPpu::tilemaps |
Definition at line 33 of file ppu_test.cc.
BackgroundMode yaze::test::emu::MockPpu::bgMode |
Definition at line 34 of file ppu_test.cc.