mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-02-23 06:32:32 +01:00
byuu says: This probably won't fix the use of register yet (I imagine ruby and hiro will complain now), but ... oh well, it's a start. We'll get it compiling again eventually. I added JP, JR, JRL, LD instructions this time around. I'm also starting to feel that Byte, Word, Long labels for the TLCS900H aren't really working. There's cases of needing uint24, int8, int16, ... it may just be better to name the types instead of trying to be fancy. At this point, all of the easy instructions are in. Now it's down to a whole lot of very awkward bit-manipulation and special-use instructions. Sigh.
35 lines
575 B
C++
35 lines
575 B
C++
#ifndef NALL_WINDOWS_GUARD_HPP
|
|
#define NALL_WINDOWS_GUARD_HPP
|
|
|
|
#define boolean WindowsBoolean
|
|
#define interface WindowsInterface
|
|
|
|
#undef UNICODE
|
|
#undef WINVER
|
|
#undef WIN32_LEAN_AND_LEAN
|
|
#undef _WIN32_WINNT
|
|
#undef _WIN32_IE
|
|
#undef __MSVCRT_VERSION__
|
|
#undef NOMINMAX
|
|
#undef PATH_MAX
|
|
|
|
#define UNICODE
|
|
#define WINVER 0x0601
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#define _WIN32_WINNT WINVER
|
|
#define _WIN32_IE WINVER
|
|
#define __MSVCRT_VERSION__ WINVER
|
|
#define NOMINMAX
|
|
#define PATH_MAX 260
|
|
|
|
#else
|
|
#undef NALL_WINDOWS_GUARD_HPP
|
|
|
|
#undef boolean
|
|
#undef interface
|
|
|
|
#undef far
|
|
#undef near
|
|
|
|
#endif
|