Skip to content

Commit bb46c90

Browse files
committed
Prepare for release.
1 parent f0eae10 commit bb46c90

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

SerialPrograms/Source/CommonFramework/Globals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace PokemonAutomation{
2626
const bool IS_BETA_VERSION = true;
2727
const int PROGRAM_VERSION_MAJOR = 0;
2828
const int PROGRAM_VERSION_MINOR = 54;
29-
const int PROGRAM_VERSION_PATCH = 25;
29+
const int PROGRAM_VERSION_PATCH = 26;
3030

3131
const std::string PROGRAM_VERSION_BASE =
3232
"v" + std::to_string(PROGRAM_VERSION_MAJOR) +

SerialPrograms/Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase_Connection.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff 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{

0 commit comments

Comments
 (0)