Mario Kart 64
Loading...
Searching...
No Matches
align_asset_macro.h
Go to the documentation of this file.
1
#pragma once
2
3
bool
GameEngine_OTRSigCheck
(
const
char
* imgData);
4
5
#if defined(_WIN32)
6
#define ALIGN_ASSET(x) __declspec(align(x))
7
#else
8
#define ALIGN_ASSET(x) __attribute__((aligned(x)))
9
#endif
10
11
#define LOAD_ASSET(path) \
12
(path == NULL ? NULL \
13
: (GameEngine_OTRSigCheck((const char*) path) ? ResourceGetDataByName((const char*) path) : path))
14
#define LOAD_ASSET_RAW(path) ResourceGetDataByName((const char*) path)
GameEngine_OTRSigCheck
bool GameEngine_OTRSigCheck(const char *imgData)
Definition
Engine.cpp:717
include
align_asset_macro.h
Generated by
1.13.2