mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 14:44:23 -04:00
sf: prevent emitting mitm/defer code unless server in process supports it
This commit is contained in:
parent
d27fe8a229
commit
bd1bcdf52b
21 changed files with 230 additions and 107 deletions
|
@ -41,9 +41,11 @@ namespace ams::sprofile::srv {
|
|||
constexpr inline size_t PortCountMax = 2;
|
||||
|
||||
struct ServerManagerOptions {
|
||||
static constexpr size_t PointerBufferSize = 0x0;
|
||||
static constexpr size_t MaxDomains = SessionCountMax; /* NOTE: Official is 3 */
|
||||
static constexpr size_t MaxDomainObjects = 16; /* NOTE: Official is 8 */
|
||||
static constexpr size_t PointerBufferSize = 0x0;
|
||||
static constexpr size_t MaxDomains = SessionCountMax; /* NOTE: Official is 3 */
|
||||
static constexpr size_t MaxDomainObjects = 16; /* NOTE: Official is 8 */
|
||||
static constexpr bool CanDeferInvokeRequest = false;
|
||||
static constexpr bool CanManageMitmServers = false;
|
||||
};
|
||||
|
||||
using ServerManager = sf::hipc::ServerManager<PortCountMax, ServerManagerOptions, SessionCountMax>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue