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 
20 namespace openmsx {
21 
23 using nibble = uint8_t;
24 
26 using byte = uint8_t;
27 
29 using word = uint16_t;
30 
31 } // namespace openmsx
32 
33 #endif
uint8_t byte
8 bit unsigned integer
Definition: openmsx.hh:26
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
uint8_t nibble
4 bit integer
Definition: openmsx.hh:23
uint16_t word
16 bit unsigned integer
Definition: openmsx.hh:29