mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-19 13:01:55 +02:00
Update to v094r41 release (open beta).
byuu says: Changelog (since the last open beta): - icarus is now included. icarus is used to import game files/archives into game paks (folders) - SNES: mid-scanline BGMODE changes now emulated correctly (used only by atx2.smc Anthrox Demo) - GBA: fixed a CPU bug that was causing dozens of games to have distorted audio - GBA: fixed default FlashROM ID; should allow much higher compatibility - GBA: now using Cydrak's new, much improved, GBA color emulation filter (still a work-in-progress) - re-added command-line loading support for game paks (not for game files/archives, sorry!) - Qt port now compiles and runs again (may be a little buggy; Windows/GTK+ ports preferred) - SNES performance profile now compiles and runs again - much more
This commit is contained in:
@@ -57,7 +57,7 @@ Declare(ComboButtonItem)
|
||||
Declare(Console)
|
||||
Declare(Frame)
|
||||
Declare(HexEdit)
|
||||
Declare(HorizontalScroller)
|
||||
Declare(HorizontalScrollBar)
|
||||
Declare(HorizontalSlider)
|
||||
Declare(IconView)
|
||||
Declare(IconViewItem)
|
||||
@@ -77,7 +77,7 @@ Declare(TabFrameItem)
|
||||
Declare(TextEdit)
|
||||
Declare(TreeView)
|
||||
Declare(TreeViewItem)
|
||||
Declare(VerticalScroller)
|
||||
Declare(VerticalScrollBar)
|
||||
Declare(VerticalSlider)
|
||||
Declare(Viewport)
|
||||
|
||||
@@ -297,12 +297,36 @@ struct Geometry {
|
||||
|
||||
#if defined(Hiro_Font)
|
||||
struct Font {
|
||||
Font() = delete;
|
||||
using type = Font;
|
||||
|
||||
Font();
|
||||
Font(const string& family, unsigned size = 0);
|
||||
|
||||
explicit operator bool() const;
|
||||
auto operator==(const Font& source) const -> bool;
|
||||
auto operator!=(const Font& source) const -> bool;
|
||||
|
||||
auto bold() const -> bool;
|
||||
auto family() const -> string;
|
||||
auto italic() const -> bool;
|
||||
auto setBold(bool bold = true) -> type&;
|
||||
auto setFamily(const string& family = "") -> type&;
|
||||
auto setItalic(bool italic = true) -> type&;
|
||||
auto setSize(unsigned size = 0) -> type&;
|
||||
auto size() const -> unsigned;
|
||||
|
||||
static auto serif(unsigned size = 0, const string& style = "") -> string;
|
||||
static auto sans(unsigned size = 0, const string& style = "") -> string;
|
||||
static auto monospace(unsigned size = 0, const string& style = "") -> string;
|
||||
static auto size(const string& font, const string& text = " ") -> Size;
|
||||
|
||||
//private:
|
||||
struct State {
|
||||
string family;
|
||||
unsigned size = 0;
|
||||
bool bold = false;
|
||||
bool italic = false;
|
||||
} state;
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -1099,9 +1123,9 @@ struct mHexEdit : mWidget {
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined(Hiro_HorizontalScroller)
|
||||
struct mHorizontalScroller : mWidget {
|
||||
Declare(HorizontalScroller)
|
||||
#if defined(Hiro_HorizontalScrollBar)
|
||||
struct mHorizontalScrollBar : mWidget {
|
||||
Declare(HorizontalScrollBar)
|
||||
|
||||
auto doChange() const -> void;
|
||||
auto length() const -> unsigned;
|
||||
@@ -1736,9 +1760,9 @@ struct mTreeViewItem : mObject {
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined(Hiro_VerticalScroller)
|
||||
struct mVerticalScroller : mWidget {
|
||||
Declare(VerticalScroller)
|
||||
#if defined(Hiro_VerticalScrollBar)
|
||||
struct mVerticalScrollBar : mWidget {
|
||||
Declare(VerticalScrollBar)
|
||||
|
||||
auto doChange() const -> void;
|
||||
auto length() const -> unsigned;
|
||||
|
Reference in New Issue
Block a user