mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-11-30 04:20:32 +00:00
35ff15f83e
byuu says: Changelog: - emulator/video,audio: various cleanups - emulator/audio: removed reverb effect (it breaks very badly on high-frequency systems) - emulator/audio: the Nyquist anti-aliasing lowpass filter is now generated automatically instead of set per-core - at 44.1KHz output, it's set to 22KHz; at 48KHz, it's set to 22KHz; at 96KHz, it's set to 25KHz - this filter now takes the bsnes emulation speed setting into account - all system/video.cpp files removed; inlined in System::power() and Interface::set() instead - sfc/cpu: pre-compute `HTIME` as `HTIME+1<<2` for faster comparisons of HIRQs - sfc/cpu: re-add check to block IRQs on the last dot of each frame (minor speed hit) - hiro/gtk3: fixed headers for Linux compilation finally - hiro/gtk,qt: fixed settings.cpp logic so initial values are used when no settings.bml file exists - hiro/gtk: started a minor experiment to specify theming information in settings.bml files - nall/dsp: allow the precision type (double) to be overridden (to float) - nall: add some helpers for generating pre-compiled headers - it was a failure to try using them for higan, however ... - nall: add some helpers for reading fallback values from empty `Markup::Node[search]` statements Todo: - CRITICAL: a lot of my IRQ/NMI/HDMA timing tests are failing with the fast PPU ... need to figure out why - space between Emulator::video functions and Emulator::audio functions in gb/system/system.cpp - remove Audio/Reverb/Enable from settings.bml in target-bsnes
27 lines
392 B
C++
27 lines
392 B
C++
namespace hiro {
|
|
|
|
struct Settings {
|
|
Settings();
|
|
~Settings();
|
|
|
|
vector<uint16_t> keycodes;
|
|
|
|
struct Geometry {
|
|
int frameX = 4;
|
|
int frameY = 24;
|
|
int frameWidth = 8;
|
|
int frameHeight = 28;
|
|
int menuHeight = 8;
|
|
int statusHeight = 4;
|
|
} geometry;
|
|
|
|
struct Theme {
|
|
bool actionIcons = true;
|
|
bool widgetColors = true;
|
|
} theme;
|
|
};
|
|
|
|
static Settings settings;
|
|
|
|
}
|