mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-06-06 07:45:56 +08:00
[service/ro] Fix too many plugin.nro not being loaded for SSBU
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
9d55875377
commit
e372f05280
@ -21,10 +21,13 @@ namespace Service::RO {
|
||||
|
||||
namespace {
|
||||
|
||||
// Convenience definitions.
|
||||
constexpr size_t MaxSessions = 0x3;
|
||||
constexpr size_t MaxNrrInfos = 0x40;
|
||||
constexpr size_t MaxNroInfos = 0x40;
|
||||
// Atmosphere defines as follows:
|
||||
// Sessions = 0x03, NrrInfos = 0x40, NroInfos = 0x40
|
||||
// This may not be enough for some mods (plugin.nro dependant games) like SSBU
|
||||
// Suppose someone loads like 64 plugins of these, now what?
|
||||
constexpr size_t MaxSessions = 0x03; // No change
|
||||
constexpr size_t MaxNrrInfos = 0x100; // Up to 256 NRRs
|
||||
constexpr size_t MaxNroInfos = 0x100; // Up to 256 NROs
|
||||
|
||||
constexpr u64 InvalidProcessId = 0xffffffffffffffffULL;
|
||||
constexpr u64 InvalidContextId = 0xffffffffffffffffULL;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user