About r5838, .sg files are already used in SG-1000.

File sg1000.c has: MDRV_CARTSLOT_EXTENSION_LIST("sg,bin")

The revision changed Master System file (sms.c). Guess something's wrong.