Skip to content

Commit

Permalink
Tiny cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkwhoffmann committed Sep 8, 2024
1 parent 9b6dd35 commit e02c11b
Showing 1 changed file with 0 additions and 48 deletions.
48 changes: 0 additions & 48 deletions Emulator/Base/Serializable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,52 +15,4 @@

namespace vc64 {

/*
void
Serializable::hardReset() {
SerResetter resetter(true);
*this << resetter;
}
void
Serializable::softReset() {
SerResetter resetter(false);
*this << resetter;
}
isize
Serializable::size() {
SerCounter counter;
*this << counter;
return counter.count;
}
u64
Serializable::checksum() {
SerChecker checker;
*this << checker;
return checker.hash;
}
isize
Serializable::load(const u8 *buffer) {
SerReader reader(buffer);
*this << reader;
return (isize)(reader.ptr - buffer);
}
isize
Serializable::save(u8 *buffer) {
SerWriter writer(buffer);
*this << writer;
return (isize)(writer.ptr - buffer);
}
*/

}

0 comments on commit e02c11b

Please sign in to comment.