Commit Graph

434 Commits

Author SHA1 Message Date
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
Lior Halphon 7c8b9cf05a Less hacky, less buggy 2022-02-20 18:59:38 +02:00
Lior Halphon a48f251039 New and faster palette viewer 2022-02-20 14:23:49 +02:00
Lior Halphon 9a2e8e1acf Speed things even more by cachine 2022-02-20 03:18:29 +02:00
Lior Halphon f02bb2f0e6 New and faster OAM viewer 2022-02-20 01:59:42 +02:00
Lior Halphon 3c6a46830d Make GBImageView not slow 2022-02-19 22:13:07 +02:00
Lior Halphon a4209b47d0 Be consistent with hex casing 2022-02-13 16:58:44 +02:00
Lior Halphon e7236deb11 Fixes to OAM viewer 2022-02-05 13:54:30 +02:00
Lior Halphon a7f7530eed Preparation for future AGB-0 and B support 2022-01-30 18:11:35 +02:00
Lior Halphon 56b14c67aa Fixed AGB audio regression 2022-01-22 01:11:23 +02:00
Lior Halphon b7f03dea8d Add CGB-A support 2022-01-05 21:55:46 +02:00
Lior Halphon 81e45b00b9 Minor Cocoa bug fixes 2022-01-03 16:51:24 +02:00
Lior Halphon 52c5610528 Cocoa audio driver goes brrrr 2021-12-29 17:21:06 +02:00
Lior Halphon 38eafeb0cf Never deadlock ever again thanks 2021-12-29 17:03:44 +02:00
Lior Halphon 97652b7460 Cocoa audio bugfix 2021-12-29 16:53:28 +02:00
Lior Halphon 6e7ba7589c Fixed blurred unfiltered screenshots 2021-12-26 18:38:08 +02:00
Lior Halphon 69de3f0fae Implement a PPU fast path, up to 34% performance boost 2021-12-26 01:47:59 +02:00
Lior Halphon c3d9141b7c Replace the term sprite with object for consistency 2021-12-17 21:16:23 +02:00
Lior Halphon c1ae129ed4 Allow hiding background/object "layers" (#422) 2021-12-17 21:12:26 +02:00
Lior Halphon e087bd5218 The GBS visualizer should use custom color palettes 2021-12-10 02:06:12 +02:00
Lior Halphon bdbe02b043 Add a safe memory read API 2021-11-26 13:54:28 +02:00
Lior Halphon d15eaf4134 Mouse controls for MBC7 2021-11-14 21:43:31 +02:00
Lior Halphon 7a78649e21 Implement motion controls in JoyKit, implement accel/gyro in DualSense and DualShock 4, implement motion controls in Cocoa 2021-11-13 19:23:45 +02:00
Lior Halphon 06ce30d3a8 Map joysticks to motion controls 2021-11-12 18:10:03 +02:00
Lior Halphon fbf1bb7f98 Save state compatibility breaking cleanup 2021-11-07 12:56:46 +02:00
Lior Halphon 4a7afb246d Fix some oopsies 2021-11-05 21:45:54 +02:00
Lior Halphon 178860e715 Custom palette and editor 2021-11-05 19:07:27 +02:00
Lior Halphon f237b1e9b9 CGB-0 support 2021-11-04 00:35:44 +02:00
Lior Halphon 6cd13be624 Add CGB-B support 2021-10-30 20:58:57 +03:00
Lior Halphon 1f7b20251b Improved sanitation for save states for better security and stability 2021-10-30 16:03:13 +03:00
Lior Halphon 739a9eb2bf Use a monospaced font in the palette viewer 2021-10-27 01:43:36 +03:00
Lior Halphon e6c4ceaf5a Add CGB-D support 2021-10-27 01:40:28 +03:00
Lior Halphon 18007f0e53 MGB support 2021-10-23 23:28:54 +03:00
Lior Halphon 5808d4485f Drop BOOLs 2021-10-23 13:36:58 +03:00
Lior Halphon fc10a90dec Screenshots in the Cocoa frontend 2021-10-23 13:26:44 +03:00
Lior Halphon f1b8164613 Force the user selected model on reset (which can change by a save state) 2021-10-17 02:06:13 +03:00
Lior Halphon 1050a7a533 More size changes for Big Bloat 2021-09-26 00:10:19 +03:00
Lior Halphon 7aca04f4c4 Things need to be slightly bigger in Big Sur 2021-09-25 21:55:12 +03:00
Lior Halphon 50bf8c4919 Fixed a bug that sometimes prevented GBS files from being opened 2021-08-01 15:11:33 +03:00
Lior Halphon 690a263648 Major improvements to JoyKit, fixing Xbox and 8BitDo controllers as well as analog mappings in PS controllers in some situations 2021-07-29 22:43:55 +03:00
Lior Halphon 1d7692cff5 Fix blurry VRAM viewer grid lines 2021-07-11 23:12:46 +03:00
Lior Halphon 94add1d172 Add "Harsh Reality" color correction mode 2021-06-25 19:57:56 +03:00
Lior Halphon 7a6ae2d951 Improved DualSense LEDs, fix several analog controls issues 2021-06-04 22:21:41 +03:00
Lior Halphon e71d3a7d3c First-tier support for DualSense controllers with rumble and LED support 2021-06-04 18:17:14 +03:00
Lior Halphon b444ecd1ee Fix configuration of analog shoulder buttons for analog turbo/slow motion when using a PS5 controller 2021-06-01 00:46:06 +03:00
Lior Halphon 3ed18a76da Added optional OSD (Cocoa) 2021-05-30 20:55:04 +03:00
Lior Halphon 033f025851 Added volume control to the Cocoa port 2021-05-21 18:12:29 +03:00
Lior Halphon c944142b36 Fall back to .snX if no .sX save state found 2021-05-07 00:33:04 +03:00
Lior Halphon 1d0366052d Updater support 2021-04-25 22:28:24 +03:00
Lior Halphon c29edc1963 Handle loading errors 2021-04-19 20:57:28 +03:00
Lior Halphon ba6e22dfc0 Merge branch 'bess' into gbs 2021-04-14 16:44:51 +03:00
Lior Halphon dd86077410 Use the older, more available API 2021-04-14 15:24:06 +03:00
Lior Halphon 8a84a5897e Allow drag&drop of state files 2021-04-14 15:20:01 +03:00
Lior Halphon 6ddfcc9725 Added visualizer to the GBS player, various GBS UI improvements 2021-04-10 16:10:10 +03:00
Lior Halphon f67d3947d6 UI Updates 2021-04-05 23:08:43 +03:00
Lior Halphon bb3a73ff88 Cocoa GBS Player 2021-04-03 01:29:43 +03:00
Lior Halphon 75bc1e9a86 Initial BESS support, no SGB nor RTC yet 2021-03-25 00:07:37 +02:00
Lior Halphon 4d67fa8e80 Close all related windows when closing a document 2021-03-01 22:58:52 +02:00
Lior Halphon e57b5dd57e Update version and copyright date 2021-02-27 19:08:32 +02:00
Lior Halphon 0a983b788e Update icon 2021-02-27 04:13:31 +02:00
Lior Halphon a13469c4e2 Fix PAL SGB in the Cocoa port 2021-02-25 22:42:02 +02:00
Lior Halphon e08df2a089 Add accurate RTC emulation mode 2021-02-25 22:12:14 +02:00
Lior Halphon 9fa564f97c Fix #336 2021-02-25 17:12:01 +02:00
Lior Halphon fa5420136e I hate the audio thread 2021-02-25 15:43:52 +02:00
Lior Halphon d343f0c969
Merge pull request #330 from jverkoey/array
Add type annotations to GBImageView's grid arrays.
2021-02-13 14:38:07 +02:00
Lior Halphon 3316954d14
Merge pull request #326 from jverkoey/deprecations
Resolve various deprecation warnings.
2021-02-13 14:15:48 +02:00
Lior Halphon 8ad08c1b35 Fix more audio deadlocks 2021-02-01 23:11:42 +02:00
Jeff Verkoeyen 557f554270 [Sameboy] Add type annotations to GBImageView's grid arrays. 2021-01-15 13:21:28 -05:00
Jeff Verkoeyen 8f91533a9a Revert nil check changes. 2021-01-15 12:49:24 -05:00
Lior Halphon 931045fd9b
Merge pull request #325 from jverkoey/master
Annotate all Cocoa properties as nonatomic.
2021-01-15 14:15:09 +02:00
Jeff Verkoeyen 1707c8818a Fix broken sprite rendering in the VRAM viewer due to mis-calculation of image data size. 2021-01-15 00:41:21 -05:00
Jeff Verkoeyen 60f226321d Resolve various deprecation warnings. 2021-01-13 14:52:18 -05:00
Jeff Verkoeyen 6dca01ad27 Annotate properties as nonatomic. 2021-01-13 14:12:34 -05:00