File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
NintendoSwitch/Controllers/SysbotBase Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ namespace PokemonAutomation{
2626const bool IS_BETA_VERSION = true ;
2727const int PROGRAM_VERSION_MAJOR = 0 ;
2828const int PROGRAM_VERSION_MINOR = 54 ;
29- const int PROGRAM_VERSION_PATCH = 25 ;
29+ const int PROGRAM_VERSION_PATCH = 26 ;
3030
3131const std::string PROGRAM_VERSION_BASE =
3232 " v" + std::to_string(PROGRAM_VERSION_MAJOR) +
Original file line number Diff line number Diff line change @@ -172,10 +172,6 @@ void TcpSysbotBase_Connection::on_connect_finished(const std::string& error_mess
172172 write_data (" configure echoCommands 0\r\n " );
173173 write_data (" getVersion\r\n " );
174174
175- if (NintendoSwitch::ConsoleSettings::instance ().ENABLE_SBB3_LOGGING ){
176- write_data (" configure enableLogs 1\r\n " );
177- }
178-
179175// m_thread = std::thread(&TcpSysbotBase_Connection::thread_loop, this);
180176
181177// set_status_line0(m_version);
@@ -288,8 +284,11 @@ void TcpSysbotBase_Connection::set_mode(const std::string& sbb_version){
288284 m_logger.log (" Detected sbb2. Using old (slow) command set." , COLOR_ORANGE);
289285 write_data (" configure mainLoopSleepTime 0\r\n " );
290286 m_supports_command_queue.store (false , std::memory_order_relaxed);
291- }else if (PreloadSettings::instance (). DEVELOPER_MODE && sbb_version.rfind (" 3." , 0 ) == 0 ){
287+ }else if (sbb_version.rfind (" 3." , 0 ) == 0 ){
292288 m_logger.log (" Detected sbb3. Using CC command queue." , COLOR_BLUE);
289+ if (NintendoSwitch::ConsoleSettings::instance ().ENABLE_SBB3_LOGGING ){
290+ write_data (" configure enableLogs 1\r\n " );
291+ }
293292 write_data (" configure enablePA 1\r\n " );
294293 m_supports_command_queue.store (true , std::memory_order_relaxed);
295294 }else {
You can’t perform that action at this time.
0 commit comments