mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	Services/AC: Corrected the number of concurrent connections for AC_I and AC_U
The number was reverse engineered from the AC module.
This commit is contained in:
		
							parent
							
								
									4fc0448093
								
							
						
					
					
						commit
						d4077b0196
					
				
					 2 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -7,8 +7,7 @@
 | 
			
		|||
namespace Service {
 | 
			
		||||
namespace AC {
 | 
			
		||||
 | 
			
		||||
// TODO(Subv): Find out the correct number of concurrent sessions allowed
 | 
			
		||||
AC_I::AC_I(std::shared_ptr<Module> ac) : Module::Interface(std::move(ac), "ac:i", 1) {
 | 
			
		||||
AC_I::AC_I(std::shared_ptr<Module> ac) : Module::Interface(std::move(ac), "ac:i", 10) {
 | 
			
		||||
    static const FunctionInfo functions[] = {
 | 
			
		||||
        {0x00010000, &AC_I::CreateDefaultConfig, "CreateDefaultConfig"},
 | 
			
		||||
        {0x00040006, &AC_I::ConnectAsync, "ConnectAsync"},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,7 @@
 | 
			
		|||
namespace Service {
 | 
			
		||||
namespace AC {
 | 
			
		||||
 | 
			
		||||
// TODO(Subv): Find out the correct number of concurrent sessions allowed
 | 
			
		||||
AC_U::AC_U(std::shared_ptr<Module> ac) : Module::Interface(std::move(ac), "ac:u", 1) {
 | 
			
		||||
AC_U::AC_U(std::shared_ptr<Module> ac) : Module::Interface(std::move(ac), "ac:u", 10) {
 | 
			
		||||
    static const FunctionInfo functions[] = {
 | 
			
		||||
        {0x00010000, &AC_U::CreateDefaultConfig, "CreateDefaultConfig"},
 | 
			
		||||
        {0x00040006, &AC_U::ConnectAsync, "ConnectAsync"},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue