Skip to content

OrigamiKingRecomp v0.1.0-beta.4

Choose a tag to compare

@WenVil WenVil released this 28 Nov 05:27
· 3 commits to main since this release

What's Changed in v0.1.0-beta.4

Upgrade Note: GAMELIB_ID is unchanged — existing players do not need to recompile lasgame_E74395F066FD8CCB.dll. Just replace the extracted files and keep your existing saves/data folder.

Fixed Crash When Pressing Minus (-) / Opening Manual

  • Fixed OfflineWeb (0x17) Applet Crash: Fixed an instant AbortImpl -> svcBreak crash when pressing Minus (- / keyboard Backspace) in-game or opening the Manual in Settings (nn::web::ShowOfflineHtmlPage). ILibraryAppletAccessor::PopOutData now returns a valid 0x1010-byte OfflineHtmlPageReturnValue IStorage (and also covers 0x13 Web and 0x0C Controller applets).
  • Prevented Handle & Memory Leaks: Added IStorage reference counting and bounds checks, handled IApplicationFunctions::SetTerminateResult, and released kernel event handles when closing ILibraryAppletAccessor so pressing Minus repeatedly never exhausts the handle table.
  • Expected behavior on PC: On Nintendo Switch, Minus (-) / Manual opens the console's built-in offline HTML web browser. Because that system browser is not emulated on PC, pressing - now plays the button chime and returns directly to gameplay without crashing.

v0.1.0-beta.4 更新日志

升级说明: 本版本 GAMELIB_ID 未变更,老玩家覆盖更新后无需重新编译 lasgame_E74395F066FD8CCB.dll,保留原存档与数据目录即可直接启动。

修复按减号键(-)或打开“说明”立即闪退

  • 修复 OfflineWeb(0x17)系统子应用崩溃:修复了在游戏内按下 -(键盘 Backspace)或在设置中点击“说明”触发 nn::web::ShowOfflineHtmlPage 时,因 PopOutData 返回空数据导致游戏主动 svcBreak 闪退的问题。现按协议返回合法的 0x1010 字节 OfflineHtmlPageReturnValue IStorage(同步覆盖 0x13 Web 与 0x0C Controller 同类子应用)。
  • 修复句柄与内存泄漏:为 IStorage 补齐引用计数与越界防护,补充 IApplicationFunctions::SetTerminateResult 处理,并在关闭 ILibraryAppletAccessor 时回收内核事件句柄,连续多次按 - 不会耗尽句柄表。
  • PC 端行为说明: 原版 Switch 按 - 键或点“说明”调用的是主机内置离线网页浏览器查看电子手册;PC 端不模拟该系统浏览器组件,现改为播放按键提示音后直接安全返回游戏,不影响游戏内任何正常流程与提示。