mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-09-01 00:28:55 +00:00
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;
|
||
|
};
|
||
|
}
|