mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-05 16:02:48 +00:00
model2
This commit is contained in:
parent
9ec7803e79
commit
d98ed3ad1a
@ -139,6 +139,8 @@ def generate_game_lists(roms_path):
|
||||
for system_dir in os.listdir(roms_dir):
|
||||
if system_dir == "xbox360":
|
||||
system_dir = "xbox360/roms"
|
||||
if system_dir == "model2":
|
||||
system_dir = "model2/roms"
|
||||
full_path = os.path.join(roms_dir, system_dir)
|
||||
if os.path.isdir(full_path) and not os.path.islink(full_path) and os.path.isfile(os.path.join(full_path, 'metadata.txt')):
|
||||
file_count = sum([len(files) for r, d, files in os.walk(full_path) if not os.path.islink(r)])
|
||||
|
@ -79,7 +79,9 @@ def generate_systems_with_missing_images(roms_path, images_path):
|
||||
|
||||
for system_dir in os.listdir(roms_dir):
|
||||
if system_dir == "xbox360":
|
||||
system_dir = "xbox360/roms"
|
||||
system_dir = "xbox360/roms"
|
||||
if system_dir == "model2":
|
||||
system_dir = "model2/roms"
|
||||
full_path = os.path.join(roms_dir, system_dir)
|
||||
if os.path.isdir(full_path) and not os.path.islink(full_path) and os.path.isfile(os.path.join(full_path, 'metadata.txt')):
|
||||
file_count = sum([len(files) for r, d, files in os.walk(full_path) if not os.path.islink(r)])
|
||||
|
Loading…
x
Reference in New Issue
Block a user