Skip to content

Commit

Permalink
Fix: report Dreamcast GD-ROMs as GD-ROMs
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm committed Mar 24, 2024
1 parent a074dcd commit 1783822
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/chdman/chdmanInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ export default {
} else if (metadataTags.has('CHCD') || metadataTags.has('CHTR') || metadataTags.has('CHT2')) {
type = CHDType.CD_ROM;
} else if (metadataTags.has('CHGT') || metadataTags.has('CHGD')) {
// Dreamcast GD_ROM
type = CHDType.CD_ROM;
type = CHDType.GD_ROM;
} else if (metadataTags.has('DVD')) {
type = CHDType.DVD_ROM;
}
Expand Down
1 change: 1 addition & 0 deletions src/chdman/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export enum CHDType {
RAW = 1,
HARD_DISK,
CD_ROM,
GD_ROM,
DVD_ROM,
// LASER_DISC,
UNKNOWN,
Expand Down

0 comments on commit 1783822

Please sign in to comment.