mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-04 07:38:47 +00:00 
			
		
		
		
	Add system time configuration (#4043)
* Add setting to switch between a fixed start time and the system time Add clock settings to SDL Make clock configureable in qt Add a SharedPage handler class Init shared_page_handler for tests
This commit is contained in:
		
							parent
							
								
									13262c187c
								
							
						
					
					
						commit
						b20607dfc6
					
				
					 16 changed files with 220 additions and 61 deletions
				
			
		| 
						 | 
				
			
			@ -14,6 +14,7 @@
 | 
			
		|||
#include <cryptopp/osrng.h>
 | 
			
		||||
#include "common/common_types.h"
 | 
			
		||||
#include "common/logging/log.h"
 | 
			
		||||
#include "core/core.h"
 | 
			
		||||
#include "core/core_timing.h"
 | 
			
		||||
#include "core/hle/ipc_helpers.h"
 | 
			
		||||
#include "core/hle/kernel/event.h"
 | 
			
		||||
| 
						 | 
				
			
			@ -24,7 +25,6 @@
 | 
			
		|||
#include "core/hle/service/nwm/uds_beacon.h"
 | 
			
		||||
#include "core/hle/service/nwm/uds_connection.h"
 | 
			
		||||
#include "core/hle/service/nwm/uds_data.h"
 | 
			
		||||
#include "core/hle/shared_page.h"
 | 
			
		||||
#include "core/memory.h"
 | 
			
		||||
#include "network/network.h"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1334,8 +1334,10 @@ NWM_UDS::NWM_UDS() : ServiceFramework("nwm::UDS") {
 | 
			
		|||
            mac = room_member->GetMacAddress();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    SharedPage::SetMacAddress(mac);
 | 
			
		||||
    SharedPage::SetWifiLinkLevel(SharedPage::WifiLinkLevel::BEST);
 | 
			
		||||
 | 
			
		||||
    Core::System::GetInstance().GetSharedPageHandler()->SetMacAddress(mac);
 | 
			
		||||
    Core::System::GetInstance().GetSharedPageHandler()->SetWifiLinkLevel(
 | 
			
		||||
        SharedPage::WifiLinkLevel::BEST);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
NWM_UDS::~NWM_UDS() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue