mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
Re-fix movtexqc parsing
This commit is contained in:
parent
cdb1bbe92a
commit
2aec9f8e28
1 changed files with 2 additions and 4 deletions
|
@ -12,14 +12,12 @@ extern "C" {
|
|||
// 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) {
|
||||
const String& _Arg = aNode->mTokens[aTokenIndex];
|
||||
|
||||
// Other constants
|
||||
if (_Arg == "NULL") {
|
||||
return (s64)0;
|
||||
}
|
||||
movtexqc_constant(NULL);
|
||||
|
||||
// Movtexs
|
||||
for (auto& _Node : aGfxData->mMovtexs) {
|
||||
|
|
Loading…
Reference in a new issue