mirror of
https://github.com/wiiu-env/LoggingModule.git
synced 2024-11-22 09:49:22 +01:00
Use OSConsoleWriteEx to set the masks
This commit is contained in:
parent
85ea0e8421
commit
512327cd6d
@ -3,8 +3,10 @@
|
|||||||
|
|
||||||
WUMS_MODULE_EXPORT_NAME("homebrew_logging");
|
WUMS_MODULE_EXPORT_NAME("homebrew_logging");
|
||||||
|
|
||||||
|
#define OSConsoleWriteEx ((void (*)( uint32_t, uint32_t, const char *, size_t))(0x101C400 + 0x10cf0))
|
||||||
|
|
||||||
bool WUMSLogWrite(const char *str, size_t size) {
|
bool WUMSLogWrite(const char *str, size_t size) {
|
||||||
OSConsoleWrite(str, size);
|
OSConsoleWriteEx(0xFFFFFFFF, 0xFFFFFFFF, str, size);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user