Add IS-Viewer faking

This commit is contained in:
CrashOveride95 committed 2021-04-11 20:49:21 -04:00
1 parent 5048caff1e
commit ca05f4a5fd
9 files changed
+81 -12

No files matched your search

+5
View File
@@ -63,6 +63,10 @@
#define FLOAT_CAST(x) (f32) (s32) (x)
#endif
#if defined(ISVPRINT) || defined(UNF)
#define stubbed_printf osSyncPrintf
#else
// No-op printf macro which leaves string literals in rodata in IDO. IDO
// doesn't support variadic macros, so instead we let the parameter list
// expand to a no-op comma expression. Another possibility is that it might
@@ -73,6 +77,7 @@
#else
#define stubbed_printf(...)
#endif
#endif
#ifdef VERSION_EU
#define eu_stubbed_printf_0(msg) stubbed_printf(msg)