fixed embarrassingly wrong plugin order

This commit is contained in:
aap 2024-12-03 16:06:13 +01:00
parent 15cb2cbb53
commit 169a45aa2f
2 changed files with 6 additions and 2 deletions

View File

@ -185,8 +185,8 @@ PluginList::registerPlugin(int32 size, uint32 id,
p->rightsCallback = nil;
p->alwaysCallback = nil;
p->parentList = this;
this->plugins.add(&p->inParentList);
allPlugins.add(&p->inGlobalList);
this->plugins.append(&p->inParentList);
allPlugins.append(&p->inGlobalList);
return p->offset;
}

View File

@ -70,9 +70,13 @@ typedef int32 bool32;
typedef uint8 byte;
typedef uint32 uint;
#ifndef nil
#define nil NULL
#endif
#ifndef nelem
#define nelem(A) (sizeof(A) / sizeof A[0])
#endif
#ifdef __GNUC__
#define RWALIGN(n) __attribute__ ((aligned (n)))