Decompile hardware keyboard language selection #700
Reference in New Issue
Block a user
Delete Branch "agent/bittle/hw-language-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 HWKeyboard::setLanguage's 14-instruction assembly implementation with a typed C++ method selecting the existing EU/non-EU country map and calling HKBManager::SetCountry. Remove the two obsolete assembly-only extern aliases.
Shared-header changes are explicit: expose the existing HWKeyboard::setLanguage declaration to TIHWKEYBOARD_IMPLEMENTATION, and add the already-existing nonvirtual HKBManager::SetCountry(u8) declaration to the consumer-side class view. No layout, virtual ordering or method signature changes.
Verification, rebased on
824fe9fc:5658d0337eequals remote treeThe existing data-report discrepancy remains disclosed by #698; no metadata or padding changes. Uses the previously disclosed local ctxdiff adapter. Left for Cole's review and merge.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.