EightBit/LR35902/inc/CharacterDefinition.h
Adrian Conlon 8b1da2097b More scan line rendering changes.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2017-10-02 10:12:25 +01:00

24 lines
376 B
C++

#pragma once
#include <cstdint>
#include <array>
namespace EightBit {
class Bus;
namespace GameBoy {
class CharacterDefinition {
public:
CharacterDefinition();
CharacterDefinition(EightBit::Bus* bus, uint16_t address, int height);
std::array<int, 8> get(int row) const;
private:
EightBit::Bus* m_bus;
uint16_t m_address;
int m_height;
};
}
}