mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-04 00:30:18 +00:00
22506ea56c
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
22 lines
346 B
C++
22 lines
346 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <array>
|
|
|
|
namespace EightBit {
|
|
|
|
class Ram;
|
|
|
|
namespace GameBoy {
|
|
class CharacterDefinition final {
|
|
public:
|
|
CharacterDefinition(Ram& vram, uint16_t address) noexcept;
|
|
|
|
[[nodiscard]] std::array<int, 8> get(int row) const noexcept;
|
|
|
|
private:
|
|
Ram& m_vram;
|
|
uint16_t m_address = ~0;
|
|
};
|
|
}
|
|
} |