mirror of https://github.com/zeldaret/botw.git
ksys/mes: Fix incorrect dtor for TransceiverId
This commit is contained in:
parent
72e8d72ad2
commit
ae23585ed2
|
@ -9,7 +9,15 @@ namespace ksys {
|
||||||
namespace mes {
|
namespace mes {
|
||||||
|
|
||||||
struct TransceiverId {
|
struct TransceiverId {
|
||||||
TransceiverId() = default;
|
TransceiverId() { reset(); }
|
||||||
|
~TransceiverId() { reset(); }
|
||||||
|
|
||||||
|
void reset() {
|
||||||
|
_0 = -1;
|
||||||
|
_4 = -1;
|
||||||
|
_8 = nullptr;
|
||||||
|
_10 = nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
TransceiverId& operator=(const TransceiverId& other) {
|
TransceiverId& operator=(const TransceiverId& other) {
|
||||||
_0 = other._0;
|
_0 = other._0;
|
||||||
|
@ -19,8 +27,8 @@ struct TransceiverId {
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
s32 _0 = -1;
|
s32 _0{};
|
||||||
s32 _4 = -1;
|
s32 _4{};
|
||||||
void* _8{};
|
void* _8{};
|
||||||
void* _10{};
|
void* _10{};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue