mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-07-15 07:44:11 -05:00
17 lines
300 B
C++
17 lines
300 B
C++
#ifndef _UTILS_H
|
|
#define _UTILS_H
|
|
|
|
#include <cstdint>
|
|
#include <cstdio>
|
|
|
|
extern const bool g_isLittleEndian;
|
|
|
|
enum class Endianness
|
|
{
|
|
LITTLE,
|
|
BIG
|
|
};
|
|
|
|
void extractFilenameAndExtension(const char *path, char *outFilename, char *outExtension = nullptr, uint16_t extensionBufferSize = 0);
|
|
|
|
#endif |