git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit 8de2d12446d8c9cf2fa8a624f31238802ab71671
parent 3000269e73a2043fd121ec39d866de99465db178
Author: Lior Halphon <2345928+LIJI32@users.noreply.github.com>
Date:   Sat, 27 Dec 2025 18:12:30 +0100

Avoid newer APIs so older SDKs can still build
Diffstat:
MCocoa/SolariumFixer.m2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Cocoa/SolariumFixer.m b/Cocoa/SolariumFixer.m @@ -66,7 +66,7 @@ NSLog(@"Button: %@ in window %@", @(sel_getName(self.action)), self.window.title); NSButton *button = (id)self; if (!button.isBordered) return; - if (button.bezelStyle == NSBezelStylePush) { + if (button.bezelStyle == NSRoundedBezelStyle) { NSLog(@"Button needs adjustment: %@ in window %@", @(sel_getName(self.action)), self.window.title); CGRect frame = self.frame; frame.size.width -= 7 + 7; // Remove 7 from the right and 7 from the left

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.