mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-07-05 20:42:08 -07:00
Fix Regist on Switch
This commit is contained in:
parent
ac8a3a3a3c
commit
078e83ec70
2 changed files with 3 additions and 2 deletions
|
@ -117,6 +117,7 @@ int Host::Register(int pin)
|
|||
throw Exception("Undefined PS4 system version (please run discover first)");
|
||||
}
|
||||
|
||||
this->regist_info.pin = pin;
|
||||
this->regist_info.host = this->host_addr.c_str();
|
||||
this->regist_info.broadcast = false;
|
||||
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
Settings::Settings()
|
||||
{
|
||||
#if defined(__SWITCH__)
|
||||
chiaki_log_init(&this->log, CHIAKI_LOG_ALL ^ CHIAKI_LOG_VERBOSE ^ CHIAKI_LOG_DEBUG, chiaki_log_cb_print, NULL);
|
||||
chiaki_log_init(&this->log, CHIAKI_LOG_ALL & ~(CHIAKI_LOG_VERBOSE | CHIAKI_LOG_DEBUG), chiaki_log_cb_print, NULL);
|
||||
#else
|
||||
chiaki_log_init(&this->log, CHIAKI_LOG_ALL, chiaki_log_cb_print, NULL);
|
||||
chiaki_log_init(&this->log, CHIAKI_LOG_ALL & ~CHIAKI_LOG_VERBOSE, chiaki_log_cb_print, NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue