EightBit/LR35902/inc/CharacterDefinition.h
2018-06-24 20:58:20 +01:00

22 lines
308 B
C++

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