mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 23:15:18 +00:00
missed AddressRange change
This commit is contained in:
parent
46f4de9bc4
commit
091349ca1e
1 changed files with 11 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue