mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-31 22:32:15 +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:
@@ -35,12 +35,14 @@ auto pTabFrameItem::setGeometry(Geometry geometry) -> void {
|
||||
}
|
||||
|
||||
auto pTabFrameItem::setIcon(const image& icon) -> void {
|
||||
_setState();
|
||||
}
|
||||
|
||||
auto pTabFrameItem::setMovable(bool movable) -> void {
|
||||
}
|
||||
|
||||
auto pTabFrameItem::setSelected() -> void {
|
||||
_setState();
|
||||
}
|
||||
|
||||
auto pTabFrameItem::setText(const string& text) -> void {
|
||||
@@ -60,6 +62,8 @@ auto pTabFrameItem::_parent() -> maybe<pTabFrame&> {
|
||||
|
||||
auto pTabFrameItem::_setState() -> void {
|
||||
if(auto parent = _parent()) {
|
||||
parent->qtTabFrame->setTabIcon(self().offset(), CreateIcon(state().icon));
|
||||
if(state().selected) parent->qtTabFrame->setCurrentIndex(self().offset());
|
||||
parent->qtTabFrame->setTabText(self().offset(), QString::fromUtf8(state().text));
|
||||
if(auto layout = state().layout) {
|
||||
auto geometry = parent->self().geometry();
|
||||
|
Reference in New Issue
Block a user