summaryrefslogtreecommitdiff
path: root/include/pso/TMenuList.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-14 16:41:22 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-14 16:41:22 -0300
commitad1179e6cfeb07ff865e0086627761b0a04bfd79 (patch)
treed64bb62cc2406e1616a02d14aecf1192d89edd92 /include/pso/TMenuList.h
parentd7336127af97ed86778796fb3a9cd203ce8b9306 (diff)
TProtocol: Add (and match) even more command handlers
Slowly starting to get fleshed out.
Diffstat (limited to 'include/pso/TMenuList.h')
-rw-r--r--include/pso/TMenuList.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pso/TMenuList.h b/include/pso/TMenuList.h
index 90a7423..c752341 100644
--- a/include/pso/TMenuList.h
+++ b/include/pso/TMenuList.h
@@ -40,7 +40,7 @@ public:
T entries[num_entries];
} __packed__;
-#ifdef __MWCC__
+#ifdef __MWERKS__
template <typename T, int num_entries>
class TMenuList<T, num_entries, 0> {
public:
@@ -52,7 +52,7 @@ public:
};
public:
packet_header header;
- TMenuListEntry<T> entries[num_entries];
+ T entries[num_entries];
} __packed__;
template <typename T, int num_pad_entries>
@@ -66,7 +66,7 @@ public:
};
public:
packet_header header;
- TMenuListEntry<T> pad_entries[num_pad_entries];
+ T pad_entries[num_pad_entries];
} __packed__;
#endif