cleanup(BS2Mach): promote lbl_* aliases to real names #675

Merged
coah80 merged 1 commits from cleanup/bs2mach-globals into main 2026-10-01 23:57:58 +00:00
coah80 commented 2026-10-01 23:54:00 +00:00 (Migrated from github.com)

Renames

Promote existing #define aliases to real symbols (and drop the macros):

  • lbl_81698A0C → DvdReadPending
  • lbl_81698A10 → BannerAllocation
  • lbl_81698A14 → BannerBuffer
  • lbl_81698A18 → BannerAvailable
  • lbl_81698A1C → Allocator
  • lbl_81698A24 → RestartRequested
  • lbl_81698A28 → PartitionOpen
  • lbl_81698A2C → CacheSeekComplete
  • lbl_81698A30 → LoadingTitle
  • lbl_81698A44 → CacheFailed
  • lbl_81698A48 → RegionValid
  • lbl_81698A4C → NandPending
  • lbl_81698A50 → CancelNand
  • lbl_81698A54 → LowReadResult
  • lbl_81698A58 → CacheCommandComplete
  • lbl_81698A5C → AudioBufferUnconfigured
  • lbl_81698A60 → ResetTime
  • lbl_81698A68 → SpinupDeadline
  • lbl_81698A70 → CoverPollTime
  • lbl_81698A78 → DriveWasReset
  • lbl_81698A7C → TitleTicketView
  • lbl_81698A80 → CurrentTmd
  • lbl_81698A84 → TitleCode
  • lbl_81698A88 → RequiredIosHigh
  • lbl_81698A8C → RequiredIosLow
  • lbl_81698A90 → GamePartition
  • lbl_81698A94 → UpdatePartition
  • lbl_81698A98 → PartitionCursor
  • lbl_81698A9C → DataToc
  • lbl_81698AA0 → GameToc
  • lbl_81698AA8 → CoverOpenTimeHigh
  • lbl_81698AAC → CoverOpenTimeLow
  • lbl_81698AB0 → NandTransferred
  • lbl_81698AB4 → NandLength
  • lbl_81698AB8 → NandBuffer
  • lbl_81698ABC → NandFile
  • lbl_81698AC0 → NandOperation
  • lbl_81698AC4 → NandCompletion
  • lbl_81698AC8 → LoaderOffset
  • lbl_81698ACC → LoaderLength
  • lbl_81698AD0 → LoaderAddress
  • lbl_81698AD4 → CacheLength
  • lbl_81698AD8 → BannerLength
  • lbl_81698ADC → DvdTransferLength
  • lbl_81698AE0 → DvdTransferred
  • lbl_81698AE4 → DvdProgress
  • lbl_81698AE8 → LoaderClose
  • lbl_81698AEC → LoaderMain
  • lbl_81698AF0 → LoaderInit
  • lbl_8108BF60 → CoverBlock
  • lbl_810ADF60 → UpdateDiskID
  • lbl_81696578 → TicketViews

Verification

  • Forced compile of BS2Mach.o (linked False) + ninja build/43U/ok → OK
  • DOL sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
## Renames Promote existing `#define` aliases to real symbols (and drop the macros): - `lbl_81698A0C` → `DvdReadPending` - `lbl_81698A10` → `BannerAllocation` - `lbl_81698A14` → `BannerBuffer` - `lbl_81698A18` → `BannerAvailable` - `lbl_81698A1C` → `Allocator` - `lbl_81698A24` → `RestartRequested` - `lbl_81698A28` → `PartitionOpen` - `lbl_81698A2C` → `CacheSeekComplete` - `lbl_81698A30` → `LoadingTitle` - `lbl_81698A44` → `CacheFailed` - `lbl_81698A48` → `RegionValid` - `lbl_81698A4C` → `NandPending` - `lbl_81698A50` → `CancelNand` - `lbl_81698A54` → `LowReadResult` - `lbl_81698A58` → `CacheCommandComplete` - `lbl_81698A5C` → `AudioBufferUnconfigured` - `lbl_81698A60` → `ResetTime` - `lbl_81698A68` → `SpinupDeadline` - `lbl_81698A70` → `CoverPollTime` - `lbl_81698A78` → `DriveWasReset` - `lbl_81698A7C` → `TitleTicketView` - `lbl_81698A80` → `CurrentTmd` - `lbl_81698A84` → `TitleCode` - `lbl_81698A88` → `RequiredIosHigh` - `lbl_81698A8C` → `RequiredIosLow` - `lbl_81698A90` → `GamePartition` - `lbl_81698A94` → `UpdatePartition` - `lbl_81698A98` → `PartitionCursor` - `lbl_81698A9C` → `DataToc` - `lbl_81698AA0` → `GameToc` - `lbl_81698AA8` → `CoverOpenTimeHigh` - `lbl_81698AAC` → `CoverOpenTimeLow` - `lbl_81698AB0` → `NandTransferred` - `lbl_81698AB4` → `NandLength` - `lbl_81698AB8` → `NandBuffer` - `lbl_81698ABC` → `NandFile` - `lbl_81698AC0` → `NandOperation` - `lbl_81698AC4` → `NandCompletion` - `lbl_81698AC8` → `LoaderOffset` - `lbl_81698ACC` → `LoaderLength` - `lbl_81698AD0` → `LoaderAddress` - `lbl_81698AD4` → `CacheLength` - `lbl_81698AD8` → `BannerLength` - `lbl_81698ADC` → `DvdTransferLength` - `lbl_81698AE0` → `DvdTransferred` - `lbl_81698AE4` → `DvdProgress` - `lbl_81698AE8` → `LoaderClose` - `lbl_81698AEC` → `LoaderMain` - `lbl_81698AF0` → `LoaderInit` - `lbl_8108BF60` → `CoverBlock` - `lbl_810ADF60` → `UpdateDiskID` - `lbl_81696578` → `TicketViews` ## Verification - Forced compile of `BS2Mach.o` (linked False) + `ninja build/43U/ok` → OK - DOL sha1: `26116613f624061ba99c8d1a299aaa6efa85670d`
coah80 commented 2026-10-01 23:57:56 +00:00 (Migrated from github.com)

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.
Sign in to join this conversation.