#------------------------------------------------------------------------------
-# $File: console,v 1.37 2018/06/23 16:36:37 christos Exp $
+# $File: console,v 1.38 2018/06/23 16:40:11 christos Exp $
# Console game magic
# Toby Deshane <hac@shoelace.digivill.net>
!:mime application/x-gamegear-rom
>0x0F byte&0xF0 0x70 Sega Game Gear
!:mime application/x-gamegear-rom
->0x0F byte&0xF0 <0x30 Sega Master System / Game Gear
-!:mime application/x-sms-rom
->0x0F byte&0xF0 >0x70 Sega Master System / Game Gear
+>0x0F default x Sega Master System / Game Gear
!:mime application/x-sms-rom
>0 byte x ROM image:
# Product code.
!:mime application/x-gamecube-rom
>4 lelong 1 Nintendo Wii disc image (GCZ format)
!:mime application/x-wii-rom
->4 lelong >1 Nintendo GameCube/Wii disc image (GCZ format)
+>4 default x Nintendo GameCube/Wii disc image (GCZ format)
# Type: Nintendo GameCube/Wii disc image (WDF format)
0 string WII\001DISC
# Type: Nintendo GameCube/Wii disc image (WIA format)
0 string WIA\001 Nintendo
->0x48 belong 0 GameCube/Wii
>0x48 belong 1 GameCube
!:mime application/x-gamecube-rom
>0x48 belong 2 Wii
!:mime application/x-wii-rom
->0x48 belong >2 GameCube/Wii
+>0x48 default x GameCube/Wii
>0x48 belong x disc image (WIA format):
>>0x58 use nintendo-gcn-disc-common