SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 81e45b00b939a54af3655c970bc8667544140738 parent c7298ae5a6bec7d6d46a2e8ac26a2f309373396d Author: Lior Halphon <LIJI32@gmail.com> Date: Mon, 3 Jan 2022 16:51:24 +0200 Minor Cocoa bug fixes Diffstat:
| M | Cocoa/AppDelegate.m | 1 | + |
| M | Cocoa/GBHueSliderCell.m | 2 | +- |
| M | Cocoa/GBPreferencesWindow.m | 1 | - |
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Cocoa/AppDelegate.m b/Cocoa/AppDelegate.m @@ -327,6 +327,7 @@ static uint32_t color_to_int(NSColor *color) self.updateProgressButton.enabled = true; [self.updateProgressSpinner stopAnimation:nil]; }); + return; } unzipTask = [[NSTask alloc] init]; diff --git a/Cocoa/GBHueSliderCell.m b/Cocoa/GBHueSliderCell.m @@ -22,7 +22,7 @@ case 1: r = 1 - t; g = 1; - b = 0; + break; case 2: g = 1; b = t; diff --git a/Cocoa/GBPreferencesWindow.m b/Cocoa/GBPreferencesWindow.m @@ -561,7 +561,6 @@ double max = 0; for (JOYAxis *axis in controller.axes) { if ((axis.value > 0.5 || (axis.equivalentButtonUsage == button.usage)) && axis.value >= max) { - max = axis.value; mapping[@"AnalogUnderclock"] = @(axis.uniqueID); break; }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.