2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 16:27:43 +00:00

TXTR bug fixes

This commit is contained in:
Jack Andersen
2015-07-19 00:43:37 -10:00
parent 29103838da
commit 78f4dbc5cd
2 changed files with 19 additions and 15 deletions

View File

@@ -69,7 +69,7 @@ public:
inline std::string toString() const
{
char buf[17];
snprintf(buf, 17, "%16lX", m_id);
snprintf(buf, 17, "%016lX", m_id);
return std::string(buf);
}
};
@@ -122,7 +122,7 @@ public:
inline std::string toString() const
{
char buf[33];
snprintf(buf, 33, "%16lX%16lX", m_id[0], m_id[1]);
snprintf(buf, 33, "%016lX%016lX", m_id[0], m_id[1]);
return std::string(buf);
}
};