Commit Graph

406 Commits

Author SHA1 Message Date
Lior Halphon 9c13590f30 Allow hot-swapping a ROM into itself, fixes #512 2024-01-21 13:45:52 +02:00
Lior Halphon a9c01d35fc Fix a bug where the Metal renderer would sometimes flicker in the Cocoa/iOS frontends 2024-01-13 15:49:37 +02:00
Lior Halphon 5fb6d55c67 Fix the update dialog font, which was broken on both older and newer versions of macOS 2024-01-06 21:49:48 +02:00
Lior Halphon 8ed46a6a58 Allow SameBoy Cocoa to coexist with VBA 2023-12-20 23:54:49 +02:00
Lior Halphon 27d42146ba Fix compatibility with Catalina and older versions of macOS, improve printer UI 2023-12-18 22:41:15 +02:00
Lior Halphon 404e153744 Use Expat rather than X11, as X11 has one extra clause. Fixes #574 2023-12-14 21:54:46 +02:00
Lior Halphon eba273d89c Menu items and shortcut to resize the window in the Cocoa frontend 2023-12-04 00:34:48 +02:00
Lior Halphon 1c8a14ff1c Improved controller assignment in the Cocoa port, affects #532 2023-11-26 17:32:33 +02:00
Lior Halphon a795514bc4 Refer to SameBoy's license as the X11 License 2023-11-25 21:21:34 +02:00
Lior Halphon 3ab6150508 Fixed weird printer related crashes on open, seems like an Apple regression? 2023-09-03 16:46:00 +03:00
Lior Halphon 240d8d1ffa Silence warning 2023-08-12 13:40:16 +03:00
Lior Halphon 3bad68f2ab Add backstep to the Cocoa button bar 2023-08-12 13:35:32 +03:00
Lior Halphon 3168e0e1fa Fixed potential deadlocks 2023-08-12 13:34:57 +03:00
Lior Halphon fb3db82d42 The Cocoa memory viewer new symbolicates the selection 2023-07-30 20:11:35 +03:00
Lior Halphon ac45888a37 The memory viewer's "Go to" field can now switch banks and address spaces 2023-07-30 14:25:41 +03:00
Lior Halphon 636349d5f2 Not going to use Constraints, Apple. Getting toolbar items to behave is hard enough as is 2023-07-23 22:03:42 +03:00
Lior Halphon 57b50cab63 Work around bad Clang and GCC optimizations of inline compile-time consts (They can't be static before C23, which isn't supported by Clang) 2023-06-21 21:47:30 +03:00
Lior Halphon 951d0b07f0 Give sliders the same treatment 2023-06-10 13:35:21 +03:00
Lior Halphon de9fc76a2c Make most preferences controls codeless 2023-06-10 01:10:06 +03:00
Lior Halphon d61e5f248d Drop the direct use of NSNotificationCenter for most preferences 2023-06-09 17:42:31 +03:00
Lior Halphon daf713132b ivar naming in Document.m 2023-06-09 16:28:58 +03:00
Lior Halphon fef175dcc6 Use #pragma once for include guards, use #import exclusively on Obj-C files 2023-06-09 14:44:57 +03:00
Lior Halphon 5b37d3c402 Add a debugger reset command, with a frontend-handled reload option. Closes #537 2023-04-11 12:02:32 +03:00
Lior Halphon 1c8397e8f3 Prevent the console window from remaining open and orphaned in rare edge conditions 2023-02-24 19:13:11 +02:00
Lior Halphon 175af178bd Fix imported cheats not appearing on Cocoa 2023-02-09 20:50:02 +02:00
Lior Halphon e1be593a65 Expose and use the built-in accessory type enum 2023-02-05 22:59:26 +02:00
Lior Halphon d5ff93af3b Emulate GB printer timer, letting one emulate the mini game in Hello Kitty Pocket Camera. Closes #290 2023-01-30 22:42:03 +02:00
Lior Halphon c06e320b95 Fix the camera using the wrong aspect ratio on some Macs. Fix a bug that caused artifacts on the right and bottom edges of the camera image. 2023-01-29 23:19:26 +02:00
Lior Halphon b2bbd9cfdc Camera emulation 2023-01-27 14:41:12 +02:00
Lior Halphon 8557a2c1ec Swipe controls for rewind, turbo and quick save/load 2023-01-25 22:57:03 +02:00
Lior Halphon 8ea5e8d74d More ROM management features 2023-01-21 22:51:30 +02:00
Lior Halphon e582e38abc This shouldn't have been the default 2023-01-21 15:11:22 +02:00
Lior Halphon 7f0ad795ec Recrush all graphics 2023-01-15 17:53:18 +02:00
Lior Halphon 4c5d896630 Porting GBViewMetal 2023-01-13 21:57:57 +02:00
Lior Halphon 093998389c "Port" GBAudioClient 2023-01-13 17:24:28 +02:00
Lior Halphon d90ecec085 Oops 2023-01-07 15:30:29 +02:00
Lior Halphon f5092c00de Reopening a modified ROM (via Open, Open Recent, command-line or Finder) will reload the ROM. Closes #497 2023-01-07 13:31:51 +02:00
Lior Halphon 9e5d3e449b Fix the Step icon on non-Retina displays 2022-11-23 19:47:53 +02:00
Lior Halphon 31340d2a90 Fix debugger buttons appearing glitched on newer versions of macOS, fixes #509 2022-11-06 13:52:02 +02:00
Lior Halphon e1fa28bd54 Adjust Joy-Con terminology 2022-10-31 22:49:17 +02:00
Lior Halphon 052e2429e0 Minor optimization 2022-10-31 21:17:32 +02:00
Lior Halphon cfee59918e Add Joy-Con orientation change support, motion controls 2022-10-31 21:11:00 +02:00
Lior Halphon 2776c8ad36 Add Joy-Con pairing interface 2022-10-30 14:42:54 +02:00
Lior Halphon 5ef668251c Rearrange the controls settings 2022-10-29 14:46:01 +03:00
Lior Halphon a43c293629 UI cleanup 2022-10-29 00:13:54 +03:00
Lior Halphon eeb15c74f9 Fix visual glitches with the debugger split divider 2022-10-24 01:07:16 +03:00
Lior Halphon 6536754944 Rename method to prevent overriding an Apple internal method on newer macOS versions. Be less strict about the inclusion of $. 2022-10-21 23:53:53 +03:00
Lior Halphon 36149dfa9f Don't crash on invalid GameShark/Genie codes 2022-10-19 22:54:54 +03:00
Lior Halphon 4649cdd290 Fix a bug that made the cheats window send debugger commands 2022-10-19 22:48:54 +03:00
Lior Halphon 5d5ff1702e Add quick reset API (Closes #506) 2022-10-17 18:52:02 +03:00
Lior Halphon 1720638017 Add margins to buttons 2022-10-15 21:31:38 +03:00
Lior Halphon 90b3e1ff38 Add launchservices category to Cocoa. Closes #505 2022-10-15 14:36:36 +03:00
Lior Halphon 55507274d6 Fix build 2022-10-01 16:14:36 +03:00
Lior Halphon 36cf778232 Update the Cocoa debugger interface with buttons, add an interrupt command 2022-10-01 16:07:06 +03:00
Lior Halphon ecaa92f853 Switch SameBoy from paused to debugger-paused on console input 2022-09-28 20:11:17 +03:00
Lior Halphon e545413a42 Save before swapping 2022-09-17 13:58:45 +03:00
Lior Halphon abaf471350 Cart hot-swapping (Cocoa) 2022-09-17 13:17:03 +03:00
Lior Halphon 14c4548325 Allow muting audio channels (Missing: SDL) 2022-09-11 15:53:07 +03:00
Lior Halphon c9a22ddfd1 Missing colon 2022-09-11 15:43:30 +03:00
Lior Halphon 8d2e01c4b6 Fix memory viewer Go To being broken 2022-09-09 15:52:19 +03:00
Lior Halphon b380f71886 Fix broken graphics 2022-09-03 14:42:48 +03:00
Lior Halphon c368c77d28 Use names for LCDC bits 2022-08-28 20:31:50 +03:00
Lior Halphon 2c7343a6ad Automatically update the copyright year 2022-08-14 19:10:00 +03:00
Lior Halphon 6ecc2f15b5 Link to debugger help and sponsor pages 2022-08-14 18:44:40 +03:00
Lior Halphon 52ab200544 Accurately emulate CGB first frame behavior. Fixes #432, fixes #482 2022-08-09 00:54:31 +03:00
Lior Halphon f0959d4e70 Fix threading issue causing crashes and deadlocks 2022-08-04 01:15:25 +03:00
Lior Halphon 7b5846fbaf Build break 2022-07-31 01:16:03 +03:00
Lior Halphon d6adbe0c7f No clue why force redrawing the parent wasn't enough 2022-07-31 00:53:38 +03:00
Lior Halphon 9383acda34 Optimize performAtomicBlock 2022-07-31 00:41:27 +03:00
Lior Halphon 44618f75c4 Optimize the memory viewer, GB_INTERNAL no longer required 2022-07-31 00:32:40 +03:00
Lior Halphon 352f8d54f8 Add popover descriptions to the color correction and high-pass filter options 2022-07-30 14:31:21 +03:00
Lior Halphon 3f7bcb9af2 Rename several color correction modes, add a new accurate mode 2022-07-30 13:32:40 +03:00
Lior Halphon c5362023c8 Fix false positives when detecting unwritable save paths 2022-07-25 00:26:42 +03:00
Lior Halphon dd435ae5f0 Fixed potential race condition in the Cocoa memory viewer 2022-07-24 17:41:34 +03:00
Lior Halphon 4db047c7d1 Make GBP selectable in Cocoa 2022-07-24 14:28:31 +03:00
Lior Halphon 5cd65f845d Warn when progress can't be saved 2022-07-24 13:23:50 +03:00
Lior Halphon 6a8743e13a Fix Cocoa being broken outside of a debug environment 2022-07-23 13:24:10 +03:00
Lior Halphon 3a86b868fe Add the same feature to Cocoa. Closes #474 2022-07-21 21:27:10 +03:00
Lior Halphon 500e767247 And the same feature in Cocoa as well. Closes #472 2022-07-16 18:54:16 +03:00
Lior Halphon 004c20d8e2 Handle GateKeeper and write permissions in the auto updater 2022-07-03 22:23:35 +03:00
Lior Halphon 887a8104f5 Refresh icon if launched via a software update 2022-07-02 21:00:40 +03:00
Lior Halphon 63a858d767 Fix GBS player's appearance on Big Sur and newer 2022-07-01 22:46:03 +03:00
Lior Halphon f2429e1c25 Fix IB oopsies 2022-07-01 16:24:54 +03:00
Lior Halphon 1b38e8c932 Prevent audio chuckling when an instance is debug-stopped 2022-06-25 20:09:23 +03:00
Lior Halphon aaf9a76b67 The vblank callback now reports the vblank type 2022-06-25 01:59:51 +03:00
Lior Halphon 8f8b7f6b33 Minor adjustment to 32x32@2x 2022-06-18 23:10:48 +03:00
Lior Halphon ec4c1948f5 New macOS icon (again) 2022-06-18 22:36:08 +03:00
Lior Halphon 6bd7b96ed5 Include some default editable color themes 2022-05-21 21:27:02 +03:00
Lior Halphon cdfcc4ca2d Audio recording in the Cocoa frontend 2022-05-21 14:33:03 +03:00
Lior Halphon 5cc845d715 Fix scrolling not updating in the VRAM viewer 2022-05-19 23:43:31 +03:00
Lior Halphon f866284b49 Fix the 16x16 cartridge icon 2022-05-11 03:35:17 +03:00
Lior Halphon 79945c8c18 XIB fixes for Mavericks 2022-03-19 01:25:08 +02:00
Lior Halphon 9c7bed97d5 I hope this actually works 2022-03-15 00:37:05 +02:00
Lior Halphon 86a1977034 Visual updates for Big Sur and newer 2022-03-13 01:14:29 +02:00
Lior Halphon d713ba85c7 Fix selected GBA model 2022-03-12 00:50:19 +02:00
Lior Halphon 5e119548e9 GDMA during mode 3 writes to both banks, list AGB_E as a future model 2022-03-09 00:32:50 +02:00
Lior Halphon 777013e998 Fix the 16x16 icon 2022-02-26 13:07:09 +02:00
Lior Halphon 2c635c7a87 Add Cartridge Instances – allow multiple saves without multiple ROM copies 2022-02-26 01:47:47 +02:00
Lior Halphon 641f26e13e Fix serial close behavior 2022-02-25 14:29:21 +02:00
Lior Halphon 8073e3d39e Visual refresh, update copyright year, crush PNGs 2022-02-24 00:38:27 +02:00