dosbox-staging:jn/using-enum-1

Last commit made on 2024-06-11
Get this branch:
git clone -b jn/using-enum-1 https://git.launchpad.net/dosbox-staging

Branch merges

Branch information

Name:
jn/using-enum-1
Repository:
lp:dosbox-staging

Recent commits

f3f10ef... by John Novak <email address hidden>

Use `using enum` in `program_mixer.cpp`

9dc0ab7... by John Novak <email address hidden>

Use `using enum` in `mixer.cpp`

115351e... by John Novak <email address hidden>

Use `using enum` in `shader_manager.cpp`

18c2f52... by John Novak <email address hidden>

Use `using enum` in `capture.cpp`

3157a8c... by interloper98 <email address hidden>

Improve names of GUS reset register action functions

1) BeginPlayback is renamed to StartRunning, because the
   documentation discusses 'running' the card when the
   reset bit 0 is set to 1.

2) StopPlayback is renamed to StopAndReset, because the
   documentation discusses 'resetting' the card when the
   reset bit 0 is set to 0 (and it implies stopping).

63ba737... by interloper98 <email address hidden>

Drop orphaned Reset function in GUS class

235db78... by interloper98 <email address hidden>

Add and use GUS reset register `bit_view` definition

This replaces three standalone variables in the GUS class
with a reset register that's now directly written to, read
from, and used during runtime.

6f11cf2... by interloper98 <email address hidden>

Fix the GUS reset register's startup behavior

- Process all three possible bits of the reset register
  as the documentation allows any combination of the bits.

- Start running the GUS (and its audio channel) when the reset
  register's bit 0 is set. The documentation only describes
  two states: reset and run, where as previously the code
  has three states (reset, prepare, and then run).

These fix a regression in Soltys (1995) where the GUS was not
starting up after the game auto-detects the GUS.
(https://github.com/exoscoriae/eXoDOS/issues/5213).

4d69bfe... by japsmits <email address hidden>

Only list visible values

407a922... by FeralChild64 <email address hidden>

Finalized callback code generation rework