mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-09-01 00:28:55 +00:00
15 lines
217 B
C++
15 lines
217 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
#include "MemoryMapping.h"
|
|
|
|
namespace EightBit {
|
|
class Mapper {
|
|
public:
|
|
virtual ~Mapper() {};
|
|
|
|
[[nodiscard]] virtual MemoryMapping mapping(uint16_t address) noexcept = 0;
|
|
};
|
|
}
|