diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-07 15:23:51 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-07 15:23:51 -0400 |
commit | 09c901655db3bb42d2aac4b506846b18833d777c (patch) | |
tree | c980f1c6b42ee503a699200a55b4cabfded1ffd5 /src/pso/TPlyGuildCardTag.cpp | |
parent | 5df9bdde16d30a8bfe520e178c5810a7163e9d6c (diff) |
global: Completly disable inlining
This is because it looks more, and more clear that the entire codebase
was compiled without inlining. Likely to reduce code size from all the
byteswap functions, only present on the GameCube version.
Diffstat (limited to 'src/pso/TPlyGuildCardTag.cpp')
-rw-r--r-- | src/pso/TPlyGuildCardTag.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/pso/TPlyGuildCardTag.cpp b/src/pso/TPlyGuildCardTag.cpp deleted file mode 100644 index 021c644..0000000 --- a/src/pso/TPlyGuildCardTag.cpp +++ /dev/null @@ -1,30 +0,0 @@ -#include "pso/TPlyGuildCardTag.h" -#include "pso/protocol.h" -#include <global_types.h> - -TPlyGuildCardTag::TPlyGuildCardTag() {} - -TPlyGuildCardTag::TPlyGuildCardTag(u16 tag2, u32 guildcard_number) { - m_tag.tag0 = 0; - m_tag.tag1 = 0; - m_tag.tag2 = tag2; - m_guildcard_number = guildcard_number; -} - -void TPlyGuildCardTag::bswap() { - bswap_32(&m_guildcard_number); - bswap_16(&m_tag.tag2); -} - -TPlyGuildCardTag &TPlyGuildCardTag::operator=(const TPlyGuildCardTag &src) { - _assign(src); - return *this; -} - -void TPlyGuildCardTag::assign(const TPlyGuildCardTag &src) { - _assign(src); -} - -void TPlyGuildCardTag::assign(const TPlyGuildCardTag *src) { - _assign(*src); -} |