imports.IdentitySource
Where an emulator's session identity comes from.
Where an emulator's session identity comes from.
Attributes
attributefamilyIdFamilyThe id family the session id is normalised in.
attributerom_readerOptional[Callable[[Path], Optional[str]]]= NoneReads the id off the rom file, or None when it cannot.
attributeuse_save_targetbool= FalseWhether RomM's value is save_target rather than title_id.
attributeromm_familyOptional[IdFamily]= NoneThe family RomM's value is written in, when it differs from family.
attributefall_back_to_title_idbool= FalseWhether title_id stands in for a missing save_target.
Functions
func__init__(self, family, rom_reader=None, use_save_target=False, romm_family=None, fall_back_to_title_id=False) -> NoneparamselfparamfamilyIdFamilyparamrom_readerOptional[Callable[[Path], Optional[str]]]= Noneparamuse_save_targetbool= Falseparamromm_familyOptional[IdFamily]= Noneparamfall_back_to_title_idbool= FalseReturns
None