openMSX
openmsx.hh
Go to the documentation of this file.
1#ifndef OPENMSX_HH
2#define OPENMSX_HH
3
4#include "build-info.hh"
5#include <cstdint>
6
7#if PLATFORM_ANDROID
8#include <android/log.h>
9#define ad_printf(...) __android_log_print(ANDROID_LOG_INFO, "openMSX", __VA_ARGS__)
10#else
11#define ad_printf(...)
12#endif
13
15
20namespace openmsx {
21
23using nibble = uint8_t;
24
26using byte = uint8_t;
27
29using word = uint16_t;
30
31} // namespace openmsx
32
33#endif
This file implemented 3 utility functions:
Definition Autofire.cc:9
uint8_t byte
8 bit unsigned integer
Definition openmsx.hh:26
uint8_t nibble
4 bit integer
Definition openmsx.hh:23
uint16_t word
16 bit unsigned integer
Definition openmsx.hh:29