Fix: add header to align soh.otr file assets and fix asset crash for Mac (#2819)

* add header for aligned assets for soh files

* remove debug statements

* update more string asset usage to aligned vars
This commit is contained in:
Adam Bird
2023-05-03 20:58:41 -04:00
committed by GitHub
parent 4980ae8dcc
commit c3c97f207f
6 changed files with 88 additions and 20 deletions

View File

@@ -21,6 +21,7 @@ extern PlayState* gPlayState;
#include "textures/icon_item_static/icon_item_static.h"
#include "textures/icon_item_24_static/icon_item_24_static.h"
#include "textures/parameter_static/parameter_static.h"
}
typedef struct {
@@ -140,7 +141,7 @@ std::map<uint32_t, ItemMapEntry> itemMapping = {
};
std::map<uint32_t, ItemMapEntry> gregMapping = {
{ITEM_RUPEE_GREEN, {ITEM_RUPEE_GREEN, "ITEM_RUPEE_GREEN", "ITEM_RUPEE_GREEN_Faded", "__OTR__textures/parameter_static/gRupeeCounterIconTex"}}
{ITEM_RUPEE_GREEN, {ITEM_RUPEE_GREEN, "ITEM_RUPEE_GREEN", "ITEM_RUPEE_GREEN_Faded", gRupeeCounterIconTex}}
};
// Maps entries in the GS flag array to the area name it represents