git.y1.nz

SameBoy

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

commit 14cf76776a641147ccf2692fb917fbe1d51f447c
parent f1f97f06925f488b74bda220c08c9238dcaf3eff
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sat, 16 Nov 2024 17:32:13 +0200

Fix an exception when closing a window with open panels

Diffstat:
MCocoa/GBPanel.m4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Cocoa/GBPanel.m b/Cocoa/GBPanel.m @@ -3,7 +3,9 @@ @implementation GBPanel - (void)becomeKeyWindow { - [_ownerWindow makeMainWindow]; + if ([_ownerWindow canBecomeMainWindow]) { + [_ownerWindow makeMainWindow]; + } [super becomeKeyWindow]; } @end

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