gunstars 0.2.2: Gunstar Heroes, rebuilt in C (https://github.com/1nputs/gunstars).

Run ./gunstar. The first time it asks for your ROM: Gunstar Heroes (U), the 1 MB retail
cartridge; pick it in the file browser, or run ./gunstar --rom "/path/to/the.gen".
It needs SDL2 (most desktops have it):
  sudo apt install libsdl2-2.0-0     (Debian, Ubuntu)
  sudo dnf install SDL2              (Fedora)
  sudo pacman -S sdl2                (Arch)
and a 64-bit x86 Linux from about 2018 on (glibc 2.28).

Keys: pad 1 arrows, Z / X / C = A / B / C, Enter = Start (A weapon, B shoot, C jump);
pad 2 I J K L, Q / W / E, Tab. Esc opens the menu (save slots, video, sound, controls).
F4 held rewinds, F5 pauses, F6 held fast-forwards, F10 saves the last 20 seconds as a GIF.

Closing the game keeps the moment as the Autosave: Esc, Load state, its first line.

Online: Esc, Online play. Type your name, then host (the other joins your address; your
router must let UDP port 7000 in, unless you share a LAN or a VPN), join, or both connect
(each types the other's address). Both need this same version. Playing together, either of
you can save a state; the host's Load state and Reset do it for both games at once.

Settings, saves and screenshots go in the folder you run it from.
The game's code is MIT (LICENSE.txt); Gunstar Heroes itself belongs to Sega and Treasure.
