You've already forked SpaghettiKart
mirror of
https://github.com/izzy2lost/SpaghettiKart.git
synced 2026-03-26 16:57:37 -07:00
15 lines
430 B
C
15 lines
430 B
C
#pragma once
|
|
|
|
bool GameEngine_OTRSigCheck(char* imgData);
|
|
|
|
#if defined(_WIN32)
|
|
#define ALIGN_ASSET(x) __declspec(align(x))
|
|
#else
|
|
#define ALIGN_ASSET(x) __attribute__((aligned(x)))
|
|
#endif
|
|
|
|
#define LOAD_ASSET(path) \
|
|
(path == NULL ? NULL \
|
|
: (GameEngine_OTRSigCheck((const char*) path) ? ResourceGetDataByName((const char*) path) : path))
|
|
#define LOAD_ASSET_RAW(path) ResourceGetDataByName((const char*) path)
|