mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-20 05:23:12 -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)");
|
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.host = this->host_addr.c_str();
|
||||||
this->regist_info.broadcast = false;
|
this->regist_info.broadcast = false;
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
Settings::Settings()
|
Settings::Settings()
|
||||||
{
|
{
|
||||||
#if defined(__SWITCH__)
|
#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
|
#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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue