SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 7994869b1f0642f6c34c741fb2d09ab0e89e6456 parent ac54d5b7ec21cdc06e33b4d01d21c94bb40533f4 Author: Lior Halphon <LIJI32@gmail.com> Date: Sat, 7 Dec 2024 00:30:59 +0200 Minor fixes and oopsies Diffstat:
| M | Cocoa/Document.xib | 5 | +++++ |
| M | Cocoa/GBOpenGLView.m | 3 | ++- |
| M | Makefile | 2 | +- |
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/Cocoa/Document.xib b/Cocoa/Document.xib @@ -16,11 +16,16 @@ <outlet property="consoleOutput" destination="doS-dM-hnl" id="Gn5-ju-Wb0"/> <outlet property="consoleWindow" destination="21F-Ah-yHX" id="eQ4-ug-LsT"/> <outlet property="debugBar" destination="sah-kv-6KJ" id="24d-aM-rs5"/> + <outlet property="debuggerBackstepButton" destination="E87-Uq-f2l" id="PI7-Wu-f0v"/> + <outlet property="debuggerContinueButton" destination="ybQ-jy-NgI" id="fRF-S3-xSh"/> + <outlet property="debuggerFinishButton" destination="jdD-yP-Nr6" id="V7Y-wP-nSS"/> + <outlet property="debuggerNextButton" destination="tTP-Zs-Ohu" id="mfm-Yl-UZA"/> <outlet property="debuggerScrollView" destination="oTo-zx-o6N" id="EbZ-Le-dZJ"/> <outlet property="debuggerSideView" destination="JgV-7E-iwp" id="RaA-fw-3i1"/> <outlet property="debuggerSideViewInput" destination="w0g-eK-jM4" id="GBf-WK-ryI"/> <outlet property="debuggerSidebarEffectView" destination="4Z2-33-dYY" id="Ja6-bC-rQg"/> <outlet property="debuggerSplitView" destination="pUc-ZN-vl5" id="0sG-0D-cID"/> + <outlet property="debuggerStepButton" destination="fsQ-dD-A8C" id="1Vi-Pi-rsI"/> <outlet property="debuggerVerticalLine" destination="7bR-gM-1At" id="rfy-7Z-388"/> <outlet property="feedImageView" destination="Ar0-nN-eop" id="wHa-St-o4G"/> <outlet property="gridButton" destination="fL6-2S-Rgd" id="jtV-jh-GHC"/> diff --git a/Cocoa/GBOpenGLView.m b/Cocoa/GBOpenGLView.m @@ -29,11 +29,12 @@ - (instancetype)initWithFrame:(NSRect)frameRect pixelFormat:(NSOpenGLPixelFormat *)format { __unsafe_unretained GBOpenGLView *weakSelf = self; + self = [super initWithFrame:frameRect pixelFormat:format]; [self observeStandardDefaultsKey:@"GBFilter" withBlock:^(id newValue) { weakSelf.shader = nil; [weakSelf setNeedsDisplay:true]; }]; - return [super initWithFrame:frameRect pixelFormat:format]; + return self; } @end diff --git a/Makefile b/Makefile @@ -560,7 +560,7 @@ endif $(BIN)/SameBoy.app/Contents/MacOS/SameBoy: $(BIN)/SameBoy.app/Contents/Library/QuickLook/SameBoy.qlgenerator/Contents/MacOS/SameBoy.dylib -@$(MKDIR) -p $(dir $@) - $(CC) $^ -o $@ $(LDFLAGS) $(FAT_FLAGS) -rpath @executable_path/../Library/QuickLook/SameBoy.qlgenerator/ -Wl,-reexport_library,$^ + $(CC) -o $@ $(LDFLAGS) $(FAT_FLAGS) -rpath @executable_path/../Library/QuickLook/SameBoy.qlgenerator/ -Wl,-reexport_library,$^ $(BIN)/SameBoy.app/Contents/Library/QuickLook/SameBoy.qlgenerator/Contents/MacOS/SameBoy.dylib: $(COCOA_OBJECTS) $(CORE_OBJECTS) $(QUICKLOOK_OBJECTS) -@$(MKDIR) -p $(dir $@)
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.