

def roms_for_console(self, config, console):
    '\n    @param console - A console object\n    @returns A list of ROM objects representing all of the valid ROMs for a\n             given console.\n\n    Valid ROMs are defined as ROMs for which the function `path_is_rom` returns\n    True when given the console.\n\n    Returns an empty list if `console` is not enabled\n    '
    roms_directory = consoles.console_roms_directory(self, console)
    logger.debug(('[%s] Using `%s` as ROMs directory' % (console.shortname, roms_directory)))
    return self._search(roms_directory, console)

dataset/ETHPy150Open scottrice/Ice/ice/rom_finder.py ROMFinder.roms_for_console/VarMisuse@22/162 `config`->`self`