mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
missed AddressRange change
This commit is contained in:
parent
46f4de9bc4
commit
091349ca1e
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "Serializer.hpp"
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
|
|
@ -64,5 +65,15 @@ public:
|
|||
[[nodiscard]] constexpr std::size_t endAddress() const { return mEndAddress; }
|
||||
|
||||
constexpr bool operator==(const AddressRange &) const = default;
|
||||
|
||||
void serialize(rx::Serializer &s) const {
|
||||
s.serialize(mBeginAddress);
|
||||
s.serialize(mEndAddress);
|
||||
}
|
||||
|
||||
void deserialize(rx::Deserializer &d) {
|
||||
mBeginAddress = d.deserialize<std::uint64_t>();
|
||||
mEndAddress = d.deserialize<std::uint64_t>();
|
||||
}
|
||||
};
|
||||
} // namespace rx
|
||||
|
|
|
|||
Loading…
Reference in a new issue