Re-fix movtexqc parsing
This commit is contained in:
parent
95362d7961
commit
599fc662ad
|
@ -12,14 +12,12 @@ extern "C" {
|
||||||
// Parsing //
|
// Parsing //
|
||||||
/////////////
|
/////////////
|
||||||
|
|
||||||
#define movtexqc_constant(x) if (_Arg == #x) { return (s64) (x); }
|
#define movtexqc_constant(x) if (_Arg == #x) { return (Movtex*) (x); }
|
||||||
static Movtex* ParseMovtexQCSymbolArg(GfxData* aGfxData, DataNode<MovtexQC>* aNode, u64 aTokenIndex) {
|
static Movtex* ParseMovtexQCSymbolArg(GfxData* aGfxData, DataNode<MovtexQC>* aNode, u64 aTokenIndex) {
|
||||||
const String& _Arg = aNode->mTokens[aTokenIndex];
|
const String& _Arg = aNode->mTokens[aTokenIndex];
|
||||||
|
|
||||||
// Other constants
|
// Other constants
|
||||||
if (_Arg == "NULL") {
|
movtexqc_constant(NULL);
|
||||||
return (s64)0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Movtexs
|
// Movtexs
|
||||||
for (auto& _Node : aGfxData->mMovtexs) {
|
for (auto& _Node : aGfxData->mMovtexs) {
|
||||||
|
|
Loading…
Reference in New Issue