Mednafen was recently updated with several corrections of this emulator and it would be nice to include them to improve those small errors. I don't know if some have already been applied, but since the core only reflects that it is in 0.9.48 (PCE), they supposedly were not added.
After 0.9.48 this is what they changed:
PCE: Allocate HuC6280 objects statically instead of dynamically, and removed a layer of indirection for the event handler pointer.
PCE: Moved HuC6280 CPU emulator back into the "pce" directory, since no other emulated systems use it and there are no plans for emulating any such systems(and if there were, new, cleaner HuC6280 emulation code should probably be written).
PCE, PC-FX: Added AVX support to the resampler.
PCE, PC-FX: Made resampler's coefficient memory layout more optimal.
PCE, PC-FX: Added ARM NEON support to the resampler(though it's only compiled in when the compiler is setup to use NEON, such as by passing -mfpu=neon).
PCE, PSX, PCE_FAST: Avoid UB by biasing uintptr_t values instead of pointers directly in the CPU core.
PCE, PCE_FAST: Added support for auto-enabling SuperGrafx emulation with CDs when a mode 1 data track has the 16-byte magic "4D 65 64 6E 61 66 65 6E 74 AB 90 19 42 62 7D E6" at offset 0x86A(assuming 2048 bytes per sector), for homebrew and translations.
PCE: Improved SuperGrafx window handling in 10MHz dot clock modes.
PCE, PCE_FAST: Added a missing sound emulation variable to save states.
PCE: Increased CD read startup delay per tip from dshadoff. Fixes ADPCM voice playback issues in "Downtown Nekketsu Monogatari" when text speed is set to fast.
PCE: Fixed an old bug(looks like from around a decade ago) in the HES playback code; it caused periodic high IRQ latency, which resulted in timer IRQ-driven DDA playback sounding rougher than it should have.
PCE: Changed the Super CD-ROM^2 memory identification signature to match a Duo instead of a PCE with a system card, to fix compatibility issues with some US Super CD-ROM^2 games when using a US system card image, per tip from elmer.
As always, thank you very much for the effort and this is only to remember that it is pending to update the core.
Some things do not belong directly to this core or are shared, but this is how they indicate it. Some of these things may not affect the core, but since I don't know, I am reporting it.
Thank you.