mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-11-18 11:06:15 +00:00
cac871cf2b
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
22 lines
308 B
C++
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;
|
|
};
|
|
}
|
|
} |