Commit Graph

1076 Commits

Author SHA1 Message Date
Lior Halphon 30e2a7b7e4 Add thread safety assertions in debug 2023-02-05 19:51:11 +02:00
Lior Halphon c8b3b080a8 Remove debugging code 2023-02-04 12:49:46 +02:00
Lior Halphon 830f2ddc38 Break save state compatibility. Windows save states should now work with non-Windows save states again. 2023-02-04 02:13:01 +02:00
Lior Halphon 65a646f050 Expose an API to reset the rewind buffer, explicitly reset on ROM changes 2023-02-02 00:18:01 +02:00
Lior Halphon 4c8f364ad7 Force the rewind buffer to reset after the save state size changes 2023-02-02 00:06:22 +02:00
Lior Halphon c36c7126f8 Hack to not break save state compatibility 2023-02-01 23:47:25 +02:00
Lior Halphon 7f3b3879a0 Fix ROM size rounding when loading from buffer, make size rounding a function 2023-02-01 22:07:16 +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 b032b89457 Banked breakpoints should not affect the boot ROM 2023-01-29 12:41:32 +02:00
Lior Halphon b2bbd9cfdc Camera emulation 2023-01-27 14:41:12 +02:00
Lior Halphon 1cc131227c Fix mathematical error in temperature_tint 2023-01-21 01:25:51 +02:00
Lior Halphon 0549dc702c Add an API to get the model from the state file 2023-01-15 19:15:45 +02:00
Lior Halphon d9bf739f52 Remove auto-generated comments 2023-01-12 23:19:24 +02:00
Lior Halphon aa8b7b0c03 Improved emulation of envelope locking, fixes #522 2023-01-10 01:19:07 +02:00
Lior Halphon 88e64fadda More accurate and customizable timings 2023-01-06 19:06:22 +02:00
Lior Halphon c92a2c2131 Writes affect the data bus too 2023-01-06 18:46:58 +02:00
Lior Halphon 7a390414ff Improved accuracy of open bus behavior, merged with the HDMA open bus logic (it's the same bus) 2023-01-06 12:51:36 +02:00
Lior Halphon 0e6803aaa9 Add comment 2023-01-02 00:53:51 +02:00
Lior Halphon bd6843444f Emulate cart open bus behavior. Fixes #516 2023-01-01 22:59:16 +02:00
Lior Halphon 1247d00cbb Minor cosmetic change 2022-12-30 17:32:36 +02:00
Lior Halphon 0d1f686d68 Farewell, manual line breaks 2022-10-22 18:20:05 +03:00
Lior Halphon 87a2b0c842 Give ticks an optional "keep" argument 2022-10-22 17:37:25 +03:00
Lior Halphon 5d5ff1702e Add quick reset API (Closes #506) 2022-10-17 18:52:02 +03:00
Lior Halphon 9b202c670e Was technically implementation defined 2022-10-17 14:34:55 +03:00
Lior Halphon 4180348567 Fix issues where finish and next did not behave as expected 2022-10-17 14:27:11 +03:00
Lior Halphon eef8b8448c That wasn't dead code, just another glitch. Fixes m3_wx_4_change_sprites 2022-10-16 23:57:19 +03:00
Lior Halphon ac9e36bc1a Fix assertion regression, fix window pixel insertion glitch regression, remove dead code. Closes #504 2022-10-16 18:19:43 +03:00
Lior Halphon e49527eff8 Shifter and fetcher information in the debugger 2022-10-16 16:04:30 +03:00
Lior Halphon ec6612d445 Fix DMA restart regression 2022-10-15 21:31:13 +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 98e986b48b Oopsie 2022-09-18 13:30:36 +03:00
Lior Halphon ea40a7be05 Fix DMA regression, fixes #495 2022-09-16 12:20:59 +03:00
Lior Halphon 14c4548325 Allow muting audio channels (Missing: SDL) 2022-09-11 15:53:07 +03:00
Lior Halphon 7917984376 Comments 2022-09-11 15:31:05 +03:00
Lior Halphon c580c44ad3 Constant replacements 2022-09-10 14:55:19 +03:00
Lior Halphon 4f78e4b109 Guide users to use the 'help' command in the debugger, fix apu command line breaks 2022-09-09 15:59:03 +03:00
Lior Halphon c368c77d28 Use names for LCDC bits 2022-08-28 20:31:50 +03:00
Lior Halphon 5194a41d99 Slight improvements to symbol hash performance 2022-08-28 16:48:20 +03:00
Lior Halphon e7de1fccab Support for MBC RAM was broken 2022-08-23 23:35:00 +03:00
Lior Halphon 9fcac76a03 New memory management APIs 2022-08-20 21:45:14 +03:00
Lior Halphon 58750424c7 Fully reset the MBC, for correct ROM switching. Fixes #489 2022-08-20 13:09:08 +03:00
Lior Halphon 9bf7e0b4df More accurate sample repeat glitch, fixes #483 2022-08-14 17:43:28 +03:00
Lior Halphon 95773b9538 Make things const 2022-08-14 01:54:28 +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 779ffe3e1b Fix desaturation 2022-08-03 01:06:34 +03:00
Lior Halphon 7b5846fbaf Build break 2022-07-31 01:16:03 +03:00
Lior Halphon 44618f75c4 Optimize the memory viewer, GB_INTERNAL no longer required 2022-07-31 00:32:40 +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 0894c1dcda Avoid rounding errors in color correction, minor optimization 2022-07-29 20:31:27 +03:00