Set default speed override

This commit is contained in:
Willem Cazander 2024-06-21 21:07:00 +02:00
parent fd0debd0fc
commit 82414ea247

View file

@ -2,6 +2,7 @@
MB_OPENMSX_BOOT_TIMEOUT ?= 25 MB_OPENMSX_BOOT_TIMEOUT ?= 25
MB_OPENMSX_MACHINE ?= Philips_NMS_8250 MB_OPENMSX_MACHINE ?= Philips_NMS_8250
MB_OPENMSX_SETTING := $(PATH_MSXBUILD_REAL)/lib/openmsx/boot_settings.xml MB_OPENMSX_SETTING := $(PATH_MSXBUILD_REAL)/lib/openmsx/boot_settings.xml
MB_OPENMSX_SPEED ?= $(if $(findstring turboR,$(OPENMSX_ARGS)),100,333)
MB_OPENMSX_EXTS ?= MB_OPENMSX_EXTS ?=
MB_OPENMSX_EXTRA_MEM ?= -ext ram4mb MB_OPENMSX_EXTRA_MEM ?= -ext ram4mb
MB_OPENMSX_ARGS = \ MB_OPENMSX_ARGS = \
@ -26,6 +27,7 @@ define _mb_openmsx_run
FAIL_AFTER_PATH=bin \ FAIL_AFTER_PATH=bin \
BOOT_HDD_PATH="$(1)" \ BOOT_HDD_PATH="$(1)" \
BOOT_HDD_IMAGE="$(1)/../dsk.img" \ BOOT_HDD_IMAGE="$(1)/../dsk.img" \
SPEED=$(MB_OPENMSX_SPEED) \
$(MB_OPENMSX_CMD) $(MB_OPENMSX_CMD)
endef endef