openmsx.hh 619 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef OPENMSX_HH
  2. #define OPENMSX_HH
  3. #include "build-info.hh"
  4. #include <cstdint>
  5. #if PLATFORM_ANDROID
  6. #include <android/log.h>
  7. #define ad_printf(...) __android_log_print(ANDROID_LOG_INFO, "openMSX", __VA_ARGS__)
  8. #else
  9. #define ad_printf(...)
  10. #endif
  11. /// Namespace of the openMSX emulation core.
  12. /** openMSX: the MSX emulator that aims for perfection
  13. *
  14. * Copyrights: see AUTHORS file.
  15. * License: GPL.
  16. */
  17. namespace openmsx {
  18. /** 4 bit integer */
  19. using nibble = uint8_t;
  20. /** 8 bit unsigned integer */
  21. using byte = uint8_t;
  22. /** 16 bit unsigned integer */
  23. using word = uint16_t;
  24. } // namespace openmsx
  25. #endif