A new release of mGBA, version 0.4.1, is available. This version is a bugfix release. An extensive list of changes follows after the cut.

Bugfixes:

  • All: Fix several file handle leaks
  • All: Fix instruction tables getting zeroed when linking sometimes
  • ARM7: Fix flags on SBC/RSC
  • ARM7: Fix setting spsr privilege bits when spsr is empty
  • GBA Audio: Reset audio FIFO DMA if an invalid destination is set
  • GBA BIOS: Fix RegisterRamReset setting DISPCNT to the wrong value
  • GBA BIOS: Fix ArcTan2 accuracy and boundary conditions
  • GBA Memory: Fix executing code from OBJ region of VRAM
  • GBA Serialize: Fix memory corruption bug in GBAExtdataSerialize
  • GBA Serialize: Fix loading savegames from savestates
  • OpenGL: Correct boolean vector strcmp strings for uniforms
  • Qt: Fix sending gameStopped twice
  • Qt: Fix hang if audio sync is enabled and audio fails to initialize
  • Qt: Fix initial state of key mapping
  • Qt: Initialize m_useBios
  • SDL: Fix joystick initialization on BSD
  • SDL: Fix potential joystick crash in games with rumble
  • SDL: Fix SDL 1.2 build
  • SDL: Fix sporadic crash when deinitializing audio
  • Shaders: Fix AGS-001 shader with some bad drivers
  • Util: Use closesocket on Windows
  • Util: Fix socket bind addresses
  • VFS: Fix reading 7z archives without rewinding first
  • VFS: VFileFromFD should not open directories
  • Wii: Fix tilting direction
  • Util: Fix realloc semantics in utf16to8

Misc:

  • All: Allow use of external minizip library
  • Debugger: CLI debugger now exits when end-of-stream is reached
  • FFmpeg: Update dependencies on Ubuntu
  • GBA: Slightly optimize GBAProcessEvents
  • GBA: Add overrides for DBZ: Legacy of Goku II and Ueki no Housoku
  • GBA Video: Null renderer should return proper register values
  • Libretro: Disable logging game errors, BIOS calls and stubs in release builds
  • Qt: Add preset for DualShock 4
  • Qt: Update 360 input profile on OS X to reflect newer drivers
  • Qt: Remove use of NaN
  • Qt: Canonicalize file paths when loading games
  • Qt: Add refresh button to controller editing
  • SDL: Remove default gamepad mappings
  • Util: Fix intermittent build failure on OS X
  • VFS: VFile.sync now updates modified time

Get it now in the Downloads section. Binaries are available for Windows, Ubuntu and OS X, and the source code is available for all other platforms.