git.y1.nz

SameBoy

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

commit 50bf8c49195fcdf9c91c134e9ec4d8071502b4e3
parent de500cd397f6028e43574ecd36168bc4665e30bc
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sun,  1 Aug 2021 15:11:33 +0300

Fixed a bug that sometimes prevented GBS files from being opened

Diffstat:
MCocoa/Document.m2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Cocoa/Document.m b/Cocoa/Document.m @@ -902,7 +902,7 @@ static unsigned *multiplication_table_for_frequency(unsigned frequency) { GB_set_rendering_disabled(&gb, true); _view = nil; - for (NSView *view in _mainWindow.contentView.subviews) { + for (NSView *view in [_mainWindow.contentView.subviews copy]) { [view removeFromSuperview]; } [[NSBundle mainBundle] loadNibNamed:@"GBS" owner:self topLevelObjects:nil];

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