EightBit/LR35902/inc/CharacterDefinition.h
Adrian Conlon 759b4a9fa8 GameBoy: Correct a few (very minor C++) niggles in the implementation. No functional changes.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2020-11-07 09:41:12 +00:00

22 lines
328 B
C++

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