mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-03-11 04:41:57 +00:00
Lots of various changes suggested by the code analysis tools.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -13,17 +13,17 @@ uint8_t EightBit::UnusedMemory::peek(uint16_t) const {
|
||||
}
|
||||
|
||||
int EightBit::UnusedMemory::load(std::ifstream&, int, int, int) {
|
||||
throw new std::logic_error("load operation not allowed.");
|
||||
throw std::logic_error("load operation not allowed.");
|
||||
}
|
||||
|
||||
int EightBit::UnusedMemory::load(const std::string&, int, int, int) {
|
||||
throw new std::logic_error("load operation not allowed.");
|
||||
throw std::logic_error("load operation not allowed.");
|
||||
}
|
||||
|
||||
int EightBit::UnusedMemory::load(const std::vector<uint8_t>&, int, int, int) {
|
||||
throw new std::logic_error("load operation not allowed.");
|
||||
throw std::logic_error("load operation not allowed.");
|
||||
}
|
||||
|
||||
void EightBit::UnusedMemory::poke(uint16_t, uint8_t) {
|
||||
throw new std::logic_error("Poke operation not allowed.");
|
||||
throw std::logic_error("Poke operation not allowed.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user