Emulates Game Boy and Game Boy Color hardware in portable C, with Cocoa, SDL, libretro, and mobile builds plus a text-based debugger.
Overview
SameBoy is an open-source emulator for the original Game Boy (DMG) and Game Boy Color (CGB). It is written in portable C and targets integrators and players who want cycle-accurate hardware behavior rather than a single fixed frontend.
Shared features across frontends include model selection independent of the ROM, high-quality audio, battery saves, save states, open-source boot ROMs, CGB palette handling for DMG titles, manual palette shortcuts, support for non-Nintendo header logos, shortened DMG boot animation, real-time clock emulation, high-DPI scaling, optional frame blending, and several scaling filters when OpenGL or Metal is available. A text debugger offers disassembly, conditional breakpoints and watchpoints, expression evaluation, and backtracing.
On macOS the Cocoa UI integrates with system features such as drag-and-drop and supports the Game Boy Camera. An SDL frontend covers other operating systems. Additional targets include libretro, iOS builds, and static or dynamic libraries for embedding the core in other programs.
The emulator is designed for high accuracy and is used for playing commercial and homebrew ROMs as well as developer-facing inspection of running software.
Key features
- DMG and CGB emulation
- Cocoa and SDL frontends
- libretro core
- Text debugger with breakpoints
- Save states and battery saves
- Open-source boot ROMs
- High-DPI and scaling filters
- Game Boy Camera on macOS
Use cases
- Playing Game Boy and Game Boy Color ROMs
- Emulation development and testing
- Libretro-based retro setups
- Debugging homebrew with watchpoints
- iOS and macOS native play