diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-25 12:25:33 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-25 12:25:33 -0400 |
commit | 25e3c303b8f47785a0056077a66b7a77449ff827 (patch) | |
tree | f19aedf782acf4c78c238e26f735e6f7b89163a9 /src/pso/protocol.cpp | |
parent | e4af5aabc6b9b70b514e8c124dd766aa44dcab7a (diff) |
TMenuList: Add `TMenuList`, and everything else that's needed to get it
working
I feel this is a good starting point for working on the protocol related
code.
Diffstat (limited to 'src/pso/protocol.cpp')
-rw-r--r-- | src/pso/protocol.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pso/protocol.cpp b/src/pso/protocol.cpp new file mode 100644 index 0000000..280b105 --- /dev/null +++ b/src/pso/protocol.cpp @@ -0,0 +1,9 @@ +#include "pso/protocol.h" +#include <global_types.h> + +void bswap_32(u32 *val) {} +void bswap_16(u16 *val) {} + +void packet_header::bswap() { + bswap_16(&size); +} |