Header optimizations (#1684)

Shouldn't break anything. I hope.
This commit is contained in:
Ivan 2016-04-27 01:27:24 +03:00
parent da7472fe81
commit aafcf44581
89 changed files with 2370 additions and 2348 deletions

View file

@ -10,6 +10,8 @@ LOG_CHANNEL(sysPrxForUser);
extern u64 get_system_time();
extern fs::file g_tty;
vm::gvar<s32> sys_prx_version; // ???
#define TLS_SYS 0x30
@ -163,7 +165,10 @@ s32 console_write(vm::ptr<char> data, u32 len)
{
sysPrxForUser.warning("console_write(data=*0x%x, len=%d)", data, len);
_log::g_tty_file.log({ data.get_ptr(), len });
if (g_tty)
{
g_tty.write(data.get_ptr(), len);
}
return CELL_OK;
}