mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-03 14:12:49 +02:00
Update to v095r07 release.
byuu says: Changelog: - entire GBA core ported to auto function() -> return; syntax - fixed GBA BLDY bug that was causing flickering in a few games - replaced nall/config usage with nall/string/markup/node - this merges all configuration files to a unified settings.bml file - added "Ignore Manifests" option to the advanced setting tab - this lets you keep a manifest.bml for an older version of higan; if you want to do regression testing Be sure to remap your controller/hotkey inputs, and for SNES, choose "Gamepad" from "Controller Port 1" in the system menu. Otherwise you won't get any input. No need to blow away your old config files, unless you want to.
This commit is contained in:
@@ -60,6 +60,13 @@
|
||||
#if defined(Hiro_Object)
|
||||
struct Object : sObject {
|
||||
DeclareSharedObject(Object)
|
||||
|
||||
template<typename T> auto cast() -> T {
|
||||
if(auto pointer = dynamic_cast<typename T::internalType*>(data())) {
|
||||
if(auto shared = pointer->instance.acquire()) return T(shared);
|
||||
}
|
||||
return T();
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -152,6 +159,7 @@ struct MenuCheckItem : sMenuCheckItem {
|
||||
#if defined(Hiro_MenuRadioItem)
|
||||
struct MenuRadioItem : sMenuRadioItem {
|
||||
DeclareSharedAction(MenuRadioItem)
|
||||
using internalType = mMenuRadioItem;
|
||||
|
||||
auto checked() const { return self().checked(); }
|
||||
auto doActivate() const { return self().doActivate(); }
|
||||
@@ -580,6 +588,7 @@ struct ProgressBar : sProgressBar {
|
||||
#if defined(Hiro_RadioButton)
|
||||
struct RadioButton : sRadioButton {
|
||||
DeclareSharedWidget(RadioButton)
|
||||
using internalType = mRadioButton;
|
||||
|
||||
auto bordered() const { return self().bordered(); }
|
||||
auto checked() const { return self().checked(); }
|
||||
@@ -600,6 +609,7 @@ struct RadioButton : sRadioButton {
|
||||
#if defined(Hiro_RadioLabel)
|
||||
struct RadioLabel : sRadioLabel {
|
||||
DeclareSharedWidget(RadioLabel)
|
||||
using internalType = mRadioLabel;
|
||||
|
||||
auto checked() const { return self().checked(); }
|
||||
auto doActivate() const { return self().doActivate(); }
|
||||
|
Reference in New Issue
Block a user