Splatoon 2

From Nintendo Switch Brew
Revision as of 06:09, 15 November 2022 by Yellows8 (talk | contribs) (Created page with "=Versions= The below documents changes for USA-region updates. Any referenced game-specific symbols are from an old version. ==5.5.1== ExeFs: * main: updated * NPDM: usua...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Versions

The below documents changes for USA-region updates. Any referenced game-specific symbols are from an old version.

5.5.1

ExeFs:

  • main: updated
  • NPDM: usual update

RomFs: {...}

Codebin changes:

  • A bunch of funcs had {clamp to max value} added:
    • This is done with a func which calls a vfunc.
    • enl::PiaTransportManager::receiveFromLib(): Now clamps the output size returned by nn::pia::transport::UnreliableProtocol::Receive() against the input size which was passed to Receive(), instead of using it directly.
    • Two constructors and the associated dtors now have value clamping.
  • enl::TransportManager::updateReceiveBuffer_():
    • This now properly returns when the loop fails to find an entry, instead of null-deref.
    • This now checks if(size_from_header>0x442) {return}. Likewise if the ptr loaded from the array-entry is NULL.
  • enl::Buffer::set(): Added a bounds check, returning on fail before the memcpy.

No SDK versions were changed, and the the .nss module string wasn't changed either (which contains a version).