From 1996133366e96d922cb096441ad24e12eb8be392 Mon Sep 17 00:00:00 2001 From: hap Date: Wed, 11 Jan 2023 22:49:27 +0100 Subject: nl_bship: use dynamic timestep instead --- src/mame/handheld/nl_bship.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/mame/handheld/nl_bship.cpp b/src/mame/handheld/nl_bship.cpp index 0d062bc606e..924450c2d1d 100644 --- a/src/mame/handheld/nl_bship.cpp +++ b/src/mame/handheld/nl_bship.cpp @@ -17,10 +17,9 @@ are on the PCB, but not used for sound. Noise source (used for explosion sound) is a zener diode, this is partially HLE'd, as I don't think MAME's netlist simulates that. -Things to look out for when tweaking SOLVER frequency: Most notably the sweep -sound when you fire (Load/Go switch in Go mode, simply press Fire to test). -Small tweaks can alter the sound a lot, and it's hard to get everything right. -At 165000, P2 beeps sound wrong, but overall it's pretty good. +Things to look out for when tweaking solver minimum time step: Most notably the +sweep sound when you fire (Load/Go switch in Go mode, simply press Fire to test). +Small tweaks can alter the sound a lot, it's hard to get everything right. */ @@ -31,8 +30,11 @@ At 165000, P2 beeps sound wrong, but overall it's pretty good. NETLIST_START(bship) { - SOLVER(Solver, 165000) + SOLVER(Solver, 48000) PARAM(Solver.ACCURACY, 1e-7) + PARAM(Solver.DYNAMIC_TS, 1) + PARAM(Solver.DYNAMIC_MIN_TIMESTEP, 4.82e-6) + ANALOG_INPUT(VBATT1, 9) ANALOG_INPUT(VBATT2, 9) -- cgit v1.2.3