Introduction to Mednafen

Mednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven multi-system emulator. Mednafen has the ability to remap hotkey functions and virtual system inputs to a keyboard, a joystick, or both simultaneously. Save states are supported, as is real-time game rewinding. Screen snapshots may be taken, in the PNG file format, at the press of a button. Mednafen can record audiovisual movies in the QuickTime file format, with several different lossless codecs supported.

The following systems are supported(refer to the emulation module documentation for more details):

Mednafen is distributed under the terms of the GNU GPLv2.

Due to the threaded model of emulation used in Mednafen, and limitations of SDL, a joystick is preferred over a keyboard to play games, as the joystick will have slightly less latency, although the latency differences may not be perceptible to most people.


Mednafen 19, 2016 - 21:01 PDT

This release adds PAL/European support to the Sega Saturn emulation.


SHA-256: b42470b2ddf68ce0747f5b8ba4e1d1c3047fa8c45b8e168da43f3e2461ec34cc
SHA-256: 9acceb0d6239105605dc598d56563adb7d5dfce56671ab5ddfa0aef33cdc19c2
SHA-256: 6ca033328ee26c4696cf3a7820ab02a6ca7c6bfbe194b9697c0051cae1566894

Mednafen 23, 2016 - 06:40 PDT

A relatively minor release. Among other changes, fixes problems with the following Sega Saturn games: "Astal", "Hi-Octane", "Panzer Dragoon", and "Panzer Dragoon 2".


SHA-256: 3d97bf160fc9679b1a1c8082305d0d3906d867a6ba2be93232aa9d3024ba84a5
SHA-256: 615eb850f33f2f072f572ef7be9e496b4576b589675c6b592e2f24c300bfa0ed
SHA-256: d43d34fac12de582e4b51df0342eee720a48db92126bb135f294fd67bdb616e0

Mednafen 0.9.39-UNSTABLEAugust 5, 2016 - 19:22 PDT

This release adds experimental Sega Saturn emulation. It currently is x86_64-only, very CPU-intensive, lacking save state support, and not supporting PAL-region games. However, SSF("Saturn Sound Format") rip playback is not limited to x86_64 platforms.

Significant end-user changes compared to
  • Added experimental Sega Saturn emulation.
  • Low-accuracy "snes_faust" SNES emulation module is now compiled in and available by default(but not used by default, except for SPC playback).
  • The version is now displayed in the upper right corner of the F1 help screen.
  • Scrolling in the netplay and cheat consoles is now done in visible line units, instead of internal line units as before, and when a console is not scrolled all the way down, a green indicator arrow will now be drawn in the lower right corner.
  • Revamped the layout of the debugger's memory editor.
  • MD: Replaced old 68K emulator with new 68K emulator developed for Saturn emulation. Fixes major issues in "Double Clutch", "James Pond 3", and "Sub-Terrania". However, timing is currently a bit off with the new 68K emulation code, so there may be some regressions.
  • MD: Implemented kludge to fix a startup lockup in "Turrican".
  • NES: Implemented kludge to fix a minor Zelda 2 title screen glitch, a status bar glitch in Burai Fighter, and scrolling in the second stage of The Young Indiana Jones Chronicles.
  • NES: Enabled SSE2 support in the audio resampler(though not used on all CPUs with SSE2 support, mostly just newer ones).
  • NES, PCE, PC-FX: Added ARM NEON support to the audio resamplers(when compiled with -mfpu=neon or similar).
  • PCE, PC-FX: Added AVX support to the audio resampler.
  • PS1: Enabled emulation of a rarely-used CDC feature; fixes lockup bug in "Fantastic Pinball Kyutenkai".
  • PS1: Reordered CPU class data layout for a small performance boost on ARM CPUs.
  • SNES: Updated libco, for ARM support.

Settings added:
  • filesys.fname_savbackup
  • filesys.path_savbackup
  • netplay.console.scale
  • netplay.console.font
  • netplay.console.lines
  • ss.*

Settings removed:
  • netplay.smallfont

SHA-256: 353eafc1243b00256ec7050ad47c622c4b5243354f02ed23836f28e95ccbd107
SHA-256: f889e1e8f6276eaf237d1386328f3e2629d2ce84b52d496fbd139fbf3be0d5fd
SHA-256: 3aed1d5317df3dd28e25d0b9c95fd62477c1874365fa0df9b6726e71b35bf189

Mednafen 1, 2015 - 16:59 PDT

Another minor bugfix release.


SHA-256: 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8
SHA-256: 84414c6ada6c736ee474703d1ea71e570426aff5e7cef05a0633b975e2a84c1e
SHA-256: 3b46fe0f955fb3c3f219c0e11694a958261a108310acffa90a7d2dfc116e9afc

Mednafen 11, 2015 - 19:45 PDT

A minor release to fix a couple of issues:
  • PCE, PCE_FAST: Tweaked CD read timing, to fix a lockup in "Mirai Shonen Conan", and a stuck note problem in "4 in 1 Super CD".
  • PS1: Fixed GPU emulation timing bugs that caused graphical glitches in "Mr. Driller G".

SHA-256: 9460da3c6cd8cb8a02293d51c958cbc6ab5555aa6d115b952d4db2e0f1067e47
SHA-256: 4ddd1fe9e77fa49166495c6615e0eead5a0146254b9bd80478c4cbd5be4ac192
SHA-256: d5d590e475dd62e84f21f76e8cb1a98865a3d8ec3df300810ab9aaef70479fca

Mednafen 26, 2015 - 17:27 PDT

Notable changes in this bug-fix release:
  • NES: Fixed a mapper 19 sound emulation bug; fixes music issues in the Japanese release of "Rolling Thunder".
  • PC-FX: Fixed a bug causing a graphical glitch in "Sakuraigar Mode" in "Tyoushin Heiki Zeroigar".
  • PSX: Fixed a problem that caused "Vib Ribbon" to lock up when trying to play with an audio CD.
  • WonderSwan: Removed erroneous constraints that were preventing opposing X* and Y* buttons from being pressed simultaneously.


SHA1: b6dff2ff97673e4183c5628d49b6ac05c341b325
SHA1: 7ca8100e8a54a53eda29bf67aaac88e0988d92ab
SHA1: 27db9c8512870bb3bf4ab7f7b02ea56f10013f60

Mednafen 13, 2015 - 08:56 PDT

A newer version,, is available.

User-visible changes in this release:
  • Miscellaneous debugger bug fixes and tweaks.
  • NES: Altered mapper 185 emulation to fix all known commercially-released mapper 185 games that were previously non-working.
  • PCE: Fixed a VRAM DMA emulation bug introduced around 0.9.16-WIP that broke some homebrew software.
  • PS1: Cheats are now also tied to the game's base filename(previously written out in the psx.cht file as a comment, but now being used for something more). Previously(and currently with other emulated systems), cheats were tied only to the game's "ID". However, Mednafen's CD ID calculation code is flawed and insufficient, particularly for single-track games, leading to many collisions in the PS1's vast game library. (The underlying issue, bad CD ID calculation, will be fixed in a future major release)
  • PS1: Improved GPU texture cache emulation; fixes menu graphical glitches in "Tigershark".
  • SNES: Fixed a bug that was breaking input after triggering a virtual Reset/Power Toggle event when a non-gamepad controller(e.g. mouse) is currently selected for a port.


SHA1: bb38199feed6258b9d51dda938f46950c157cb4f
SHA1: 6e4c35366703c19695d834c77aab930e014befea
SHA1: cb1ab005b0149137ea2a71083b3dc3d80bdd5c42

Mednafen 5, 2015 - 05:20 PST

A newer version,, is available.

-- --

March 4, 2015:
	NES: Fixed mapper 69 IRQ acknowledge behavior, per tip from tepples.

February 24, 2015:
	MD: Fixed an out-of-bounds array access in the 68K emulation code.

	Avoid passing NULL to memcpy() in netplay.cpp.

	MD: Fixed some code doing misaligned memory writes in vdp.cpp.

February 23, 2015:
	Avoid blitting to the screen when visibility is lost(i.e. window is minimized),
        to reduce CPU usage and to prevent memory usage from skyrocketing on
	Windows under certain conditions.

February 22, 2015:
	PSX: Tweaked non-logical CD seek emulation to fix lockups in some versions of "Tomb Raider".

February 17, 2015:
	PSX: Fixed Justifier and GunCon x position being off when setting "psx.h_overscan" is set to "0".

SHA1: c71cdc0c92ba6c8177b7c1c5d29d5e9bf3a74027
SHA1: 94fb78c7b8cb3add9da682287c43def9ef9a5d12
SHA1: de1082b259575bc7b10306f924af48040e88d02c

Mednafen 16, 2015 - 18:18 PST

A newer version,, is available.

This release fixes a PS1 GPU emulation timing regression introduced in 0.9.37 that causes "Tobal No.1", and possibly some other interlaced games that run at 60 fields per second, to be unplayable.

SHA1: 09a258fdf2966a18c868fe8acdce0701e77a0347
SHA1: 42027c94b414fc5371b6771b020692b7c93bf287
SHA1: d3c6d04f855c80231ee97a718598d43d6903d858

Mednafen 11, 2015 - 19:32 PST

A newer version,, is available.

This release fixes a few minor bugs in 0.9.38-UNSTABLE, including broken PSF/PS1 EXE support.

SHA1: 7087089da7b7f8cc16498496c58300270d656581
SHA1: 837facd6259f0444cdb5c26b5d5faadeb7bc39f2
SHA1: d18be7d691f8a8da034441580c1c956d8ea8a252

Page design and original content copyright © 2005-2017 Mednafen Team. The Mednafen Beetle is copyright © 2005 Camille Young. Nintendo, Nintendo Entertainment System, GameBoy, GameBoy Color, and GameBoy Advance are registered trademarks of Nintendo. Mednafen is not an official Nintendo product, and Mednafen is in no way affiliated with the Nintendo corporation.