Add IS-Viewer faking
This commit is contained in:
1 parent
5048caff1e
commit
ca05f4a5fd
9 files changed
+81
-12
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user