Splatoon 2: Difference between revisions
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..." |
No edit summary |
||
Line 1: | Line 1: | ||
=Versions= | =Versions= | ||
The below documents changes for USA-region updates. Any referenced | The below documents changes for USA-region updates. Any referenced codebin symbols are from an old version. | ||
==5.5.1== | ==5.5.1== | ||
Line 11: | Line 11: | ||
Codebin changes: | Codebin changes: | ||
* A bunch of funcs had {clamp to max value} added: | * A bunch of funcs had {clamp to max value} added: | ||
** This is done with a | ** This is done with <code>enl::ContentTransporterCommon<enl::SystemInformation>::readyReceiveStream()</code> and <code>enl::ContentTransporterCommon<enl::SystemRequestInfo>::readyReceiveStream()</code>. These funcs call <code>sead::ReadStream::readMemBlock</code>, with the returned value now being clamped to a max value. | ||
** <nowiki>enl::PiaTransportManager::receiveFromLib()</nowiki>: 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. | ** <nowiki>enl::PiaTransportManager::receiveFromLib()</nowiki>: Now clamps the output size returned by <code>nn::pia::transport::UnreliableProtocol::Receive()</code> against the input size which was passed to Receive(), instead of using it directly. | ||
** Two | ** Two sets of two deconstructors now have value clamping: <code><enl::WriteStream::~WriteStream()></code> and <code><enl::RamWriteStream::~RamWriteStream()></code>. | ||
* < | * <code>enl::TransportManager::updateReceiveBuffer_()</code>: | ||
** This now properly returns when the loop fails to find an entry, instead of null-deref. | ** This now properly returns when the loop fails to find an entry, instead of null-deref. | ||
** This now checks <code>if(size_from_header>0x442) {return}</code>. Likewise if the ptr loaded from the array-entry is NULL. | ** This now checks <code>if(size_from_header>0x442) {return}</code>. Likewise if the ptr loaded from the array-entry is NULL. | ||
* < | * <code>enl::Buffer::set()</code>: 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). | No SDK versions were changed, and the the .nss module string wasn't changed either (which contains a version). |