mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-07-29 06:24:23 +00:00
Start adding comparison operations to EightBit classes
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user