mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Separate MxCore counter (#663)
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
#include "mxcore.h"
|
||||
|
||||
#include "define.h"
|
||||
#include <assert.h>
|
||||
|
||||
// GLOBAL: LEGO1 0x1010141c
|
||||
MxU32 MxCore::g_nextCoreId = 0;
|
||||
|
||||
// FUNCTION: LEGO1 0x100ae1a0
|
||||
MxCore::MxCore()
|
||||
{
|
||||
m_id = (MxU32) g_mxcoreCount[0];
|
||||
g_mxcoreCount[0]++;
|
||||
m_id = g_nextCoreId++;
|
||||
assert(g_nextCoreId);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100ae1e0
|
||||
@@ -17,5 +20,6 @@ MxCore::~MxCore()
|
||||
// FUNCTION: LEGO1 0x100ae1f0
|
||||
MxLong MxCore::Notify(MxParam& p_param)
|
||||
{
|
||||
assert(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user