mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
chdtest.py: added support for .raw input for createhd (nw)
This commit is contained in:
parent
7ab7bc0f6c
commit
1b2009d36f
@ -73,7 +73,12 @@ for root, dirs, files in os.walk(inputPath):
|
||||
inFile += "." + ext
|
||||
cmd = [chdmanBin, "createcd", "-f", "-i", inFile, "-o", tempFile]
|
||||
elif d.startswith("createhd"):
|
||||
cmd = [chdmanBin, "createhd", "-f", "-o", tempFile]
|
||||
ext = d.split("_", 2)[1]
|
||||
inFile += "." + ext
|
||||
if os.path.exists(inFile):
|
||||
cmd = [chdmanBin, "createhd", "-f", "-i", inFile, "-o", tempFile]
|
||||
else:
|
||||
cmd = [chdmanBin, "createhd", "-f", "-o", tempFile]
|
||||
elif d.startswith("copy"):
|
||||
inFile += ".chd"
|
||||
cmd = [chdmanBin, "copy", "-f", "-i", inFile, "-o", tempFile]
|
||||
|
Loading…
Reference in New Issue
Block a user