mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-06-30 12:01:45 -04:00
12553beabd
* Couple minor fixes * test * OTR changes * More otr stuff * Some fixes --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
11 lines
368 B
C
11 lines
368 B
C
#pragma once
|
|
|
|
#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)
|