Просмотр исходного кода

hle: service: Increase arbitrary max sessions limit.

- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
bunnei 5 лет назад
Родитель
Сommit
2d32fc2318
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/core/hle/service/service.h

+ 1 - 1
src/core/hle/service/service.h

@@ -42,7 +42,7 @@ class ServiceManager;
 
 
 static const int kMaxPortSize = 8; ///< Maximum size of a port name (8 characters)
 static const int kMaxPortSize = 8; ///< Maximum size of a port name (8 characters)
 /// Arbitrary default number of maximum connections to an HLE service.
 /// Arbitrary default number of maximum connections to an HLE service.
-static const u32 DefaultMaxSessions = 64;
+static const u32 DefaultMaxSessions = 0x10000;
 
 
 /**
 /**
  * This is an non-templated base of ServiceFramework to reduce code bloat and compilation times, it
  * This is an non-templated base of ServiceFramework to reduce code bloat and compilation times, it