mirror of https://github.com/bsnes-emu/bsnes.git
0dcbe627c2
To resize a window on X11, the window manager tells the X11 server to change the window size, then the X11 server tells the application to paint itself, and then (eventually) the application tells the X11 server what to draw. This adds an arbitrary amount of latency to resizing, so to make things feel more responsive, the X11 server will paint any newly-exposed parts of the window with a default background colour. If it happens to be the same colour as the appplication would paint anyway, this gives resizing a much better user-experience. Since most of bsnes' window is occupied by the viewport, which is always black, bsnes accordingly set its window background colour to black for the best resizing experience. However, this had two additional effects: - When no game is loaded, bsnes displays the bsnes icon in the main display area. Black canvas widgets are used as spacers to position the icon correctly, but the spacers don't cover the entire background, and the window background shines through. - GTK+3 draws widget transparent by default, so the background colour of the parent widget shines through child widgets. In particular, setting the window background to black makes the menu background black, even if the menu text is also a dark colour. In order to get the menu to display properly in GTK+3 builds, we have to stop bsnes from setting the top-level window background colour, and we also have to ensure that the spacer widgets around the icon cover the entire surface of the window. Fixes #108. |
||
---|---|---|
.assets | ||
.github/workflows | ||
bsnes | ||
docs | ||
hiro | ||
libco | ||
nall | ||
ruby | ||
shaders | ||
sourcery | ||
.cirrus.yml | ||
.gitattributes | ||
.gitignore | ||
CREDITS.md | ||
GPLv3.txt | ||
LICENSE.txt | ||
README.md | ||
mkdocs.yml | ||
update-subtrees.sh |
README.md
bsnes
bsnes is a multi-platform Super Nintendo (Super Famicom) emulator, originally developed by byuu, which focuses on performance, features, and ease of use.
Unique Features
- True Super Game Boy emulation (using the SameBoy core by Lior Halphon)
- HD mode 7 graphics with optional supersampling (by DerKoun)
- Low-level emulation of all SNES coprocessors (DSP-n, ST-01n, Cx4)
- Multi-threaded PPU graphics renderer
- Speed mode settings which retain smooth audio output (50%, 75%, 100%, 150%, 200%)
- Built-in games database with thousands of game entries
- Built-in cheat code database for hundreds of popular games (by mightymo)
- Built-in save state manager with screenshot previews and naming capabilities
- Customizable per-byte game mappings to support any cartridges, including prototype games
- 7-zip decompression support
- Extensive Satellaview emulation, including BS Memory flash write and wear-leveling emulation
- Optional higan game folder support (standard game ROM files are also fully supported!)
- Advanced mapping system allowing multiple bindings to every emulated input
Standard Features
- MSU1 support
- BPS and IPS soft-patching support
- Save states with undo and redo support (for reverting accidental saves and loads)
- OpenGL multi-pass pixel shaders
- Several built-in software filters, including HQ2x (by MaxSt) and snes_ntsc (by blargg)
- Adaptive sync and dynamic rate control for perfect audio/video synchronization
- Just-in-time input polling for minimal input latency
- Run-ahead support for removing internal game engine input latency
- Support for Direct3D exclusive mode video
- Support for WASAPI exclusive mode audio
- Periodic auto-saving of game saves
- Auto-saving of states when unloading games, and auto-resuming of states when reloading games
- Sprite limit disable support
- Cubic audio interpolation support
- Optional high-level emulation of most SNES coprocessors
- Optional emulation of flaws in older emulators for compatibility with older unofficial software
- CPU, SA1, and SuperFX overclocking support
- Frame advance support
- Screenshot support
- Cheat code search support
- Movie recording and playback support
- Rewind support
- HiDPI support
- Multi-monitor support
- Turbo support for controller inputs