mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-10 00:56:27 +02:00
byuu says: Don't let the point release fool you, there are many significant changes in this release. I will be keeping bsnes releases using a point system until the new higan release is ready. Changelog: - GUI: added high DPI support - GUI: fixed the state manager image preview - Windows: added a new waveOut driver with support for dynamic rate control - Windows: corrected the XAudio 2.1 dynamic rate control support [BearOso] - Windows: corrected the Direct3D 9.0 fullscreen exclusive window centering - Windows: fixed XInput controller support on Windows 10 - SFC: added high-level emulation for the DSP1, DSP2, DSP4, ST010, and Cx4 coprocessors - SFC: fixed a slight rendering glitch in the intro to Megalomania If the coprocessor firmware is missing, bsnes will fallback on HLE where it is supported, which is everything other than SD Gundam GX and the two Hayazashi Nidan Morita Shougi games. The Windows dynamic rate control works best with Direct3D in fullscreen exclusive mode. I recommend the waveOut driver over the XAudio 2.1 driver, as it is not possible to target a single XAudio2 version on all Windows OS releases. The waveOut driver should work everywhere out of the box. Note that with DRC, the synchronization source is your monitor, so you will want to be running at 60hz (NTSC) or 50hz (PAL). If you have an adaptive sync monitor, you should instead use the WASAPI (exclusive) or ASIO audio driver.
59 lines
1.7 KiB
C++
59 lines
1.7 KiB
C++
#if defined(Hiro_Window)
|
|
|
|
namespace hiro {
|
|
|
|
struct pWindow : pObject {
|
|
Declare(Window, Object)
|
|
|
|
static auto initialize() -> void;
|
|
|
|
static uint minimumStatusHeight;
|
|
|
|
auto append(sMenuBar menuBar) -> void;
|
|
auto append(sSizable sizable) -> void;
|
|
auto append(sStatusBar statusBar) -> void;
|
|
auto focused() const -> bool override;
|
|
auto frameMargin() const -> Geometry;
|
|
auto handle() const -> uintptr_t;
|
|
auto monitor() const -> uint;
|
|
auto remove(sMenuBar menuBar) -> void;
|
|
auto remove(sSizable sizable) -> void;
|
|
auto remove(sStatusBar statusBar) -> void;
|
|
auto setBackgroundColor(Color color) -> void;
|
|
auto setDismissable(bool dismissable) -> void;
|
|
auto setDroppable(bool droppable) -> void;
|
|
auto setEnabled(bool enabled) -> void;
|
|
auto setFocused() -> void;
|
|
auto setFont(const Font& font) -> void override;
|
|
auto setFullScreen(bool fullScreen) -> void;
|
|
auto setGeometry(Geometry geometry) -> void;
|
|
auto setMaximized(bool maximized) -> void;
|
|
auto setMaximumSize(Size size) -> void;
|
|
auto setMinimized(bool minimized) -> void;
|
|
auto setMinimumSize(Size size) -> void;
|
|
auto setModal(bool modal) -> void;
|
|
auto setResizable(bool resizable) -> void;
|
|
auto setTitle(string text) -> void;
|
|
auto setVisible(bool visible) -> void;
|
|
|
|
auto modalIncrement() -> void;
|
|
auto modalDecrement() -> void;
|
|
auto windowProc(HWND, UINT, WPARAM, LPARAM) -> maybe<LRESULT>;
|
|
|
|
auto _geometry() -> Geometry;
|
|
auto _modalityCount() -> unsigned;
|
|
auto _modalityDisabled() -> bool;
|
|
auto _modalityUpdate() -> void;
|
|
auto _statusHeight() const -> int;
|
|
|
|
HWND hwnd = nullptr;
|
|
HFONT hstatusfont = nullptr;
|
|
HBRUSH hbrush = nullptr;
|
|
COLORREF hbrushColor = 0;
|
|
Geometry windowedGeometry{128, 128, 256, 256};
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|