Skip to content

Commit 450f0fc

Browse files
committed
home_to_date_time: split function based on controller type
1 parent a682f08 commit 450f0fc

File tree

4 files changed

+172
-261
lines changed

4 files changed

+172
-261
lines changed

SerialPrograms/Source/NintendoSwitch/DevPrograms/TestProgramSwitch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ void TestProgram::program(MultiSwitchProgramEnvironment& env, CancellableScope&
318318

319319

320320
#if 1
321-
home_to_date_time(console, context, false, false);
321+
home_to_date_time(console, context, false);
322322
#endif
323323

324324
#if 0

SerialPrograms/Source/NintendoSwitch/Inference/NintendoSwitch_SelectedSettingDetector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ bool is_white_theme(const ImageViewRGB32& screen){
3939

4040
bool SelectedSettingWatcher::process_frame(const ImageViewRGB32& screen, WallClock timestamp){
4141

42-
ImageStats stats_unselected_box1 = image_stats(extract_box_reference(screen, m_not_selected_box1));
42+
ImageStats stats_unselected_box1 = image_stats(extract_box_reference(screen, m_not_selected_box1));
4343
double unselected1_average_sum = stats_unselected_box1.average.sum();
4444
cout << "unselected_average_sum1: " << std::to_string(unselected1_average_sum) << endl;
4545

0 commit comments

Comments
 (0)