Update for MacOS
This commit is contained in:
parent
56ec000839
commit
e3386d6622
|
@ -1004,12 +1004,12 @@ static DataNode<LevelScript>* DynOS_Lvl_Load(BinFile *aFile, GfxData *aGfxData)
|
|||
void *_Ptr = DynOS_Pointer_Load(aFile, aGfxData, _Value, &_Node->mFlags);
|
||||
if (_Ptr) {
|
||||
if (!requirePointer) {
|
||||
PrintError("Didn't expect a pointer while reading level script: %s, %u", _Node->mName, _Value);
|
||||
PrintError("Didn't expect a pointer while reading level script: %s, %u", _Node->mName.begin(), _Value);
|
||||
}
|
||||
_Node->mData[i] = (uintptr_t) _Ptr;
|
||||
} else {
|
||||
if (requirePointer) {
|
||||
PrintError("Expected a pointer while reading level script: %s, %u", _Node->mName, _Value);
|
||||
PrintError("Expected a pointer while reading level script: %s, %u", _Node->mName.begin(), _Value);
|
||||
_Node->mData[i] = 0;
|
||||
} else {
|
||||
_Node->mData[i] = (uintptr_t) _Value;
|
||||
|
|
Binary file not shown.
|
@ -1,6 +1,8 @@
|
|||
// Adapted from PeachyPeach's sm64pc-omm (now sm64ex-omm)
|
||||
#include "crash_handler.h"
|
||||
|
||||
char gLastRemoteBhv[256] = "";
|
||||
|
||||
#if (defined(_WIN32) || defined(__linux__)) && !defined(WAPI_DUMMY)
|
||||
|
||||
#ifdef HAVE_SDL2
|
||||
|
@ -26,8 +28,6 @@
|
|||
#include "pc/mods/mods.h"
|
||||
#include "pc/debuglog.h"
|
||||
|
||||
char gLastRemoteBhv[256] = "";
|
||||
|
||||
typedef struct {
|
||||
s32 x, y;
|
||||
u8 r, g, b;
|
||||
|
|
Loading…
Reference in New Issue