]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
sndboard: keep addrbank tables file-local
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Thu, 4 Jun 2026 02:07:22 +0000 (19:07 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Thu, 4 Jun 2026 03:48:39 +0000 (20:48 -0700)
commitd5d5968378b53e3eda3280deb7cc0fad0b7accba
treedaa70690940cb226a014de6142b96ad224ed3cc1
parentb5da405cb4fcf9d7456e1c610831cb2b5f336a1d
sndboard: keep addrbank tables file-local

The sound-board addrbank tables are static, but earlier forward
declarations used external linkage. That breaks C++ builds when the
Unix port enables the shared sound-board sources.

Declare the memory callbacks first and move the static bank tables
before the accessors that reference them. This keeps the symbols
file-local without conflicting declarations.
sndboard.cpp