mirror of
https://github.com/LIJI32/SameBoy.git
synced 2026-10-12 02:06:38 +00:00
More Duo fixes
This commit is contained in:
@@ -309,9 +309,11 @@ static void rumbleCallback(GB_gameboy_t *gb, double amp)
|
||||
|
||||
- (void)recreateLayoutsWithThemeNamed:(NSString *)name;
|
||||
{
|
||||
if (_hinge) {
|
||||
_lastHingeStatus = _hinge.status;
|
||||
[super setNeedsUpdateOfSupportedInterfaceOrientations];
|
||||
if (@available(iOS 16.0, *)) {
|
||||
if (_hinge) {
|
||||
_lastHingeStatus = _hinge.status;
|
||||
[super setNeedsUpdateOfSupportedInterfaceOrientations];
|
||||
}
|
||||
}
|
||||
GBTheme *theme = [GBSettingsViewController themeNamed:name];
|
||||
_horizontalLayoutLeft = [[GBHorizontalLayout alloc] initWithTheme:theme cutoutOnRight:false];
|
||||
|
||||
Reference in New Issue
Block a user