Peanut-GB
Peanut-GB copied to clipboard
A Game Boy (DMG) emulator single header library written in C99. Performance is prioritised over accuracy.
A new function should be written to allow the frontend to turn various settings on and off. These may include: - Ability to switch sound off and on. Useful if...
The * ignores wasm files incase emscripten is used.
Title says it all, more convenient repeat feature like BGB has. Also I get 4x speed on Peanut-GB where SameBoy is getting me like _**1 fps**_ on postmarketOS (linux phone)...
List of behaviours that aren't currently emulated properly in Peanut-GB. ## LCD - The LCD is emulated line by line, where a line is rendered when the LCD enters Mode...
How wrong is it to just store a copy of the gb struct (together with the corresponding ram) to do save-states, experimentally it seems to work quite well but I...
Add detection of busy loops, or loops that wait for a status. Such loops may include: - Waiting for OAM DMA. - Waiting for an interrupt. - Copying from one...
Peanut-GB would signal to the frontend that it should call `gb_lcd_render_line()` with copied sprite data and LCD registers. This would allow the LCD drawing -- which requires a lot of...
GIF does not support 60fps, whereas APNG does. apngasm can be used to create an optimised APNG file.
This means: - Not declaring variables in for-loop initialiser. - Not declaring variables in the middle of a block. - Not using stdint.h. - C++ style single-line comments. Peanut-GB must...
Currently, Peanut-GB uses `gb_run_frame()` to emulate the Game Boy and returns after a frame is drawn. If the LCD is set to off, then this function would not return until...