mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00
[libromdata] MegaDrive: Add external image URL support for the Teradrive TMSS ROM.
This commit is contained in:
parent
2be8490e97
commit
dc2649beff
1
NEWS.md
1
NEWS.md
@ -8,6 +8,7 @@
|
||||
* Requested by @DankRank.
|
||||
* SNES: List the Nintendo Power directory for full NP cartridge dumps.
|
||||
* Fixes #154: SNES: Nintendo Power directory
|
||||
* MegaDrive: Add external image URL support for the Teradrive TMSS ROM.
|
||||
|
||||
* Bug fixes:
|
||||
* NintendoDS_BNR: Animated icons were missing the animated icon flag.
|
||||
|
@ -1632,6 +1632,12 @@ int MegaDrive::extURLs(ImageType imageType, vector<ExtURL> &extURLs, int size) c
|
||||
// Found an exception.
|
||||
break;
|
||||
}
|
||||
|
||||
if ((d->romType & MegaDrivePrivate::ROM_SYSTEM_MASK) == MegaDrivePrivate::ROM_SYSTEM_TERADRIVE) {
|
||||
// Teradrive's TMSS ROM doesn't have a separator in the serial number.
|
||||
break;
|
||||
}
|
||||
|
||||
// Missing separator.
|
||||
return -ENOENT;
|
||||
}
|
||||
@ -1646,6 +1652,15 @@ int MegaDrive::extURLs(ImageType imageType, vector<ExtURL> &extURLs, int size) c
|
||||
case 'SF': case 'JN': case 'LG':
|
||||
case 'HP': case 'MP': case '61': case '83':
|
||||
break;
|
||||
|
||||
case 'SY':
|
||||
// This may be the Teradrive TMSS ROM.
|
||||
if ((d->romType & MegaDrivePrivate::ROM_SYSTEM_MASK) == MegaDrivePrivate::ROM_SYSTEM_TERADRIVE) {
|
||||
break;
|
||||
}
|
||||
// Not valid for anything else.
|
||||
return -ENOENT;
|
||||
|
||||
default:
|
||||
// Not a valid ROM type.
|
||||
return -ENOENT;
|
||||
|
Loading…
Reference in New Issue
Block a user