Start adding comparison operations to EightBit classes

This commit is contained in:
Adrian Conlon
2021-12-27 14:24:38 +00:00
parent af7679505c
commit 945fcefb36
16 changed files with 154 additions and 34 deletions

View File

@@ -3,6 +3,10 @@
#include <iostream>
bool EightBit::Rom::operator==(const Rom& rhs) const {
return BYTES() == rhs.BYTES();
}
int EightBit::Rom::load(std::ifstream& file, std::vector<uint8_t>& output, const int writeOffset, const int readOffset, int limit, const int maximumSize) {
file.seekg(0, std::ios::end);