EightBit/LR35902/inc/CharacterDefinition.h
Adrian Conlon c513f0cab1 GSL was too problematic when used with GCC. Removed.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2017-11-20 19:17:49 +00:00

23 lines
352 B
C++

#pragma once
#include <cstdint>
#include <array>
namespace EightBit {
class Ram;
namespace GameBoy {
class CharacterDefinition {
public:
CharacterDefinition() = default;
CharacterDefinition(Ram* ram, uint16_t address);
std::array<int, 8> get(int row) const;
private:
Ram* m_ram = nullptr;
uint16_t m_address = ~0;
};
}
}