mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-04-21 17:16:35 +00:00
Make the Rom class a little easier to use by allowing it to be copied around.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
@@ -26,6 +26,8 @@ namespace EightBit {
|
||||
static int load(std::string path, std::vector<uint8_t>& output, int writeOffset = 0, int readOffset = 0, int limit = -1, int maximumSize = -1);
|
||||
|
||||
Rom(size_t size = 0) noexcept;
|
||||
Rom(const Rom& rhs);
|
||||
Rom& operator=(const Rom& rhs);
|
||||
|
||||
[[nodiscard]] size_t size() const noexcept final;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user