EightBit/LR35902/inc/CharacterDefinition.h
Adrian Conlon 0b2c1fa084 Gameboy, some random tidy ups.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2018-05-02 02:47:47 +01:00

22 lines
326 B
C++

#pragma once
#include <cstdint>
#include <array>
namespace EightBit {
class Ram;
namespace GameBoy {
class CharacterDefinition final {
public:
CharacterDefinition(const Ram& vram, uint16_t address);
std::array<int, 8> get(int row) const;
private:
const Ram& m_vram;
uint16_t m_address = ~0;
};
}
}