reverted name of macro

This commit is contained in:
Zelllll 2021-01-14 21:19:49 -06:00
parent 08e1fc532f
commit d2bed729be
2 changed files with 3 additions and 3 deletions

View File

@ -77,4 +77,6 @@
#define _NS(x, y) x ## _ ## y
#define NS(x, y) _NS(x, y)
#define ASCII_TO_U32(a, b, c, d) ((u32)((a << 24) | (b << 16) | (c << 8) | (d << 0)))
#endif

View File

@ -1,13 +1,11 @@
#include "common.h"
#define U32_CHAR_LITERAL(a, b, c, d) ((u32)((a << 24) | (b << 16) | (c << 8) | (d << 0)))
void func_80025C60(void) {
OSPiHandle** handle = &carthandle;
osEPiWriteIo(*handle, 0xB3FF0014, 0);
osEPiWriteIo(*handle, 0xB3FF0004, 0);
osEPiWriteIo(*handle, 0xB3FF0000, U32_CHAR_LITERAL('I', 'S', '6', '4'));
osEPiWriteIo(*handle, 0xB3FF0000, ASCII_TO_U32('I', 'S', '6', '4'));
}
INCLUDE_ASM(s32, "code_1060_len_310", func_80025CC0);