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

CStringTable: Use std::array instead of std::vector

Gets rid of a static constructor, as well as a few heap allocations
This commit is contained in:
Lioncash
2019-09-01 03:10:24 -04:00
parent 484a6b0cdf
commit e23dfbd8db
2 changed files with 12 additions and 7 deletions

View File

@@ -5,7 +5,6 @@
namespace urde {
class CStringTable {
static const std::vector<FourCC> skLanguages;
static FourCC mCurrentLanguage;
u32 x0_stringCount = 0;
std::unique_ptr<u8[]> x4_data = 0;