Skip to content

fix(bdm): continue scanning after unused GPT entries - #933

Merged
uyjulian merged 1 commit into
ps2dev:masterfrom
PS2HomeDeveloper:patch-2
Oct 6, 2026
Merged

uyjulian merged 1 commit into
ps2dev:masterfrom
PS2HomeDeveloper:patch-2

Conversation

@PS2HomeDeveloper

Copy link
Copy Markdown
Contributor

The GPT parser stops scanning the partition entry array when it encounters an entry with a zero partition type GUID.

A zero type GUID marks that entry as unused; it does not indicate that the remaining entries are unused. Continue scanning so valid partitions after an unused entry can still be discovered.

Testing:

  • Verify that a valid partition following an unused entry is discovered.
  • Run the relevant PS2SDK build checks.

The GPT parser stops scanning the partition entry array when it encounters
an entry with a zero partition type GUID.

A zero type GUID marks that entry as unused; it does not indicate that the
remaining entries are unused. Continue scanning so valid partitions after
an unused entry can still be discovered.

Testing:
- Verify that a valid partition following an unused entry is discovered.
- Run the relevant PS2SDK build checks.

@uyjulian uyjulian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@uyjulian
uyjulian merged commit 2c67045 into ps2dev:master Oct 6, 2026
5 checks passed
@PS2HomeDeveloper
PS2HomeDeveloper deleted the patch-2 branch October 6, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants