etroimcasso/Snaggletooth ? reverse-engineered prompt

Reverse engineered prompt

Build out this project into a clean, embeddable SNES core that I can actually use from another app.

The audio side is the priority. I want a simple public C++ API for loading an SPC dump or an initial machine state, stepping the machine by cycles, and getting back 32 kHz stereo audio frames. It should feel deterministic and easy to embed, with no UI, no file dialog stuff, and no hidden threads or timers. If the current docs and tests already define the intended surface, follow those and make the library line up with them.

Please also finish anything needed to make the build and tests pass cleanly, and add a small example or minimal usage path so I can see how to call it from a host app. If you need to check the latest CMake or C++20 details, look up current docs online first.

Keep the license and clean room approach intact, and make sure the code stays easy to vendor into another MIT project.