mirror of
https://github.com/aap/librw.git
synced 2025-01-21 08:11:09 +00:00
fixed embarrassingly wrong plugin order
This commit is contained in:
parent
15cb2cbb53
commit
169a45aa2f
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user