git://git.nikiroo.be
/
gamiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27d849f
)
dosbox: add cpu.conf support
author
Niki Roo
<niki@nikiroo.be>
Thu, 27 Mar 2025 21:21:24 +0000
(22:21 +0100)
committer
Niki Roo
<niki@nikiroo.be>
Thu, 27 Mar 2025 21:21:24 +0000
(22:21 +0100)
gamiki/support/commands.py
patch
|
blob
|
blame
|
history
diff --git
a/gamiki/support/commands.py
b/gamiki/support/commands.py
index 7ff92e2acdf5f7c434b293dc02ce0c8898319fe6..60c653b2ac5e3bd0a4628db733d88c9282ca3825 100644
(file)
--- a/
gamiki/support/commands.py
+++ b/
gamiki/support/commands.py
@@
-19,6
+19,10
@@
def dosbox(dir: PurePath, link: PurePath) -> int:
if (base.exists()):
cmd.append("-conf")
cmd.append(base.as_posix())
+ cpu = dir.joinpath("cpu.conf")
+ if (cpu.exists()):
+ cmd.append("-conf")
+ cmd.append(cpu.as_posix())
cmd.append("-conf")
cmd.append(dir.joinpath("start.conf").as_posix())