mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-22 09:30:32 +00:00
f38d326ca7
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
15 lines
215 B
C++
15 lines
215 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
#include "MemoryMapping.h"
|
|
|
|
namespace EightBit {
|
|
class Mapper {
|
|
public:
|
|
virtual ~Mapper() = default;
|
|
|
|
[[nodiscard]] virtual MemoryMapping mapping(uint16_t address) = 0;
|
|
};
|
|
}
|