Fix event passing
This commit is contained in:
parent
5fa9c3c34c
commit
6c91caddc0
|
@ -1,5 +1,3 @@
|
|||
#include"orca.h"
|
||||
|
||||
mp_event _OrcaRawEvent;
|
||||
|
||||
ORCA_EXPORT mp_event *_OrcaRawEventPtr = &_OrcaRawEvent;
|
||||
ORCA_EXPORT mp_event _OrcaRawEvent;
|
||||
|
|
|
@ -437,7 +437,7 @@ void* orca_runloop(void* user)
|
|||
}
|
||||
|
||||
//NOTE: get location of the raw event slot
|
||||
IM3Global rawEventGlobal = m3_FindGlobal(app->runtime.m3Module, "_OrcaRawEventPtr");
|
||||
IM3Global rawEventGlobal = m3_FindGlobal(app->runtime.m3Module, "_OrcaRawEvent");
|
||||
app->runtime.rawEventOffset = (u32)rawEventGlobal->intValue;
|
||||
|
||||
//NOTE: preopen the app local root dir
|
||||
|
|
Loading…
Reference in New Issue