Migrate s32->int, u32->uint; fix dolphin/types.h

This commit is contained in:
2022-09-05 00:01:13 -04:00
parent 78022784ef
commit 7eb08b6ee8
73 changed files with 413 additions and 410 deletions

View File

@@ -12,11 +12,11 @@ extern TEditorId kInvalidEditorId;
extern TUniqueId kInvalidUniqueId;
struct TAreaId {
s32 value;
int value;
TAreaId() : value(-1) {}
TAreaId(s32 value) : value(value) {}
s32 Value() const { return value; }
TAreaId(int value) : value(value) {}
int Value() const { return value; }
bool operator==(const TAreaId& other) const { return value == other.value; }
bool operator!=(const TAreaId& other) const { return value != other.value; }
@@ -24,11 +24,11 @@ struct TAreaId {
CHECK_SIZEOF(TAreaId, 0x4)
struct TEditorId {
u32 value;
uint value;
TEditorId() : value(-1) {}
TEditorId(u32 value) : value(value) {}
u32 Value() const { return value; }
TEditorId(uint value) : value(value) {}
uint Value() const { return value; }
bool operator==(const TEditorId& other) const { return value == other.value; }
bool operator!=(const TEditorId& other) const { return value != other.value; }