Decompile system sound initialization #706
Reference in New Issue
Block a user
Delete Branch "agent/bittle/system-sound-init-cpp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replace System::constructSND_'s compiler-specific assembly branch with ordinary C++. Preserve the resource-buffer load before querying the sound heap's allocatable size, then initialize sound and set the loaded flag. The former non-MW fallback becomes the single implementation with explicit locals.
One source file only; no headers, metadata or compiler flags changed.
Fresh verification on
f36411d4:bb974103fbequals tested local treeLeft for Cole's review and merge.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.