SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit d146b3a30948c0da1396f41a10d5e4297b777205 parent 71d4e60c57388cc86f1e60806566047fbf7b4be5 Author: Lior Halphon <LIJI32@gmail.com> Date: Thu, 3 Apr 2025 23:52:04 +0300 Why do I end up writing these Diffstat:
| M | Core/rewind.c | 2 | +- |
| M | JoyKit/JOYFullReportElement.m | 2 | +- |
| M | Shaders/MasterShader.metal | 2 | +- |
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Core/rewind.c b/Core/rewind.c @@ -226,7 +226,7 @@ void GB_set_rewind_length(GB_gameboy_t *gb, double seconds) void GB_rewind_invalidate_for_backstepping(GB_gameboy_t *gb) { - if (gb->rewind_disable_invalidation) return;; + if (gb->rewind_disable_invalidation) return; if (gb->rewind_sequences && gb->rewind_sequences[gb->rewind_pos].key_state) { typeof(gb->rewind_sequences[0]) *sequence = &gb->rewind_sequences[gb->rewind_pos]; sequence->instruction_count[sequence->pos] |= 0x80000000; diff --git a/JoyKit/JOYFullReportElement.m b/JoyKit/JOYFullReportElement.m @@ -46,7 +46,7 @@ { [self updateValue:value]; - return IOHIDDeviceSetReport(_device, kIOHIDReportTypeOutput, _reportID, [_data bytes], [_data length]);; + return IOHIDDeviceSetReport(_device, kIOHIDReportTypeOutput, _reportID, [_data bytes], [_data length]); } - (void)updateValue:(NSData *)value diff --git a/Shaders/MasterShader.metal b/Shaders/MasterShader.metal @@ -42,7 +42,7 @@ static inline float4 texture(texture2d<half> texture, float2 pos) __attribute__((unused)) static inline float4 texture_relative(texture2d<half> t, float2 pos, float2 offset) { - float2 input_resolution = float2(t.get_width(), t.get_height());; + float2 input_resolution = float2(t.get_width(), t.get_height()); float2 origin = (floor(pos * input_resolution)) + float2(0.5, 0.5); return texture(t, (origin + offset) / input_resolution); }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.