Commit Graph

1243 Commits

Author SHA1 Message Date
Lior Halphon e69f6b8579 Bug fix: GB_save_state always returned success 2025-07-21 23:53:54 +03:00
Lior Halphon 634b90e4fc Fix rounding errors in calls to band_limited_update, tweak BL synth parameters. Should greatly improve audio quality, fixes #713 2025-07-18 13:53:02 +03:00
Lior Halphon b31cca77be Use a sinc filter 2025-07-18 13:32:25 +03:00
Lior Halphon 8505f00cdf Fix BL-synth master wave generation, that wasn't a square step... affects #713 2025-07-12 01:17:47 +03:00
Lior Halphon d7e1672ae7 Always define typeof to __typeof__, unless targeting C23. Fixes #710 2025-07-08 00:04:07 +03:00
Lior Halphon 4abb5f3539 Fix AGB mixing – the bias should only be applied if the channel is connected to a terminal 2025-07-05 16:37:48 +03:00
Lior Halphon aff7f1706c Add turbo cap options to the core and frontends, improve frame skipping, replace iOS' turbo speed option with the new turbo cap. Addresses #708. 2025-07-04 14:41:34 +03:00
Lior Halphon 00000971d7 Describe addresses correctly in unbanked portions of RAM and ROM 2025-06-24 21:53:18 +03:00
Lior Halphon bfb1092cbb Fix cheat search crashing on carts without RAM 2025-06-10 01:19:29 +03:00
Lior Halphon 1400bd40e8 Slightly alter the behavior of the print command so values don't get zero-padding by default, fixes #687 2025-06-08 01:25:30 +03:00
Lior Halphon f0a672c39e Make sure the CPU graph advanced correctly even in turbo mode 2025-06-07 14:24:35 +03:00
Lior Halphon 6ab1be654b Add CPU load graph to Cocoa, closes #654 2025-06-06 23:10:57 +03:00
Lior Halphon f706988171 Add CPU usage command (#654) 2025-06-06 19:26:25 +03:00
Lior Halphon 152e242485 Fixed incorrect processing of GameShark codes 2025-05-26 00:51:16 +03:00
Lior Halphon 81c29fa371 Make gb.h compatible with ANSI C++, fixes #698 2025-04-08 20:39:12 +03:00
Lior Halphon bf9212bcff Increase the number of band-limited phases to reduce overtones in high-pitched sounds 2025-04-04 13:27:20 +03:00
nik012003 18edb65680 Add break statements in mbc7 writes 2025-04-04 02:09:18 +02:00
Lior Halphon d146b3a309 Why do I end up writing these 2025-04-03 23:52:04 +03:00
Lior Halphon 71d4e60c57 Fix several iOS crashes 2025-04-03 23:37:11 +03:00
Lior Halphon 3ad28b7a8d Fix old compilers 2025-04-02 00:31:53 +03:00
Lior Halphon edce971d8c Optimize SGB FM synthesis, downgrade the sample rate of synthesis when rendering at high rates. 2025-04-02 00:27:07 +03:00
Lior Halphon 474caaccd5 The relevant RA issue is long fixed by now 2025-03-30 22:12:04 +03:00
Lior Halphon 9359f7a2d9 Fix SGB attribute and tile transfers on BE platforms, fixes #693 2025-03-29 19:12:35 +03:00
Lior Halphon f1d52c53d3 Allow using joysticks as faux analog controllers 2025-03-29 14:52:01 +03:00
Lior Halphon 9c958a1cb4 More accurate OAM randomization 2025-03-21 22:52:55 +02:00
Lior Halphon 917b62785c The watchpoint command now outputs the watchpoint type upon adding one 2025-03-15 12:56:51 +02:00
Lior Halphon 7b511dd76b Document rPGB 2025-03-15 12:56:51 +02:00
Lior Halphon 215a690e92 Don't display this warning on MBC2/7 games 2025-03-15 12:56:51 +02:00
Lior Halphon 4c904d11ff Handle single-color OBP values better in the object viewer 2025-03-15 12:56:51 +02:00
Lior Halphon aa5fc484d1 Fix m3_lcdc_obj_en_change_variant.gb 2025-03-15 12:56:51 +02:00
Lior Halphon 849ae42b99 Fix m3_scx_high_5_bits on DMG 2025-03-15 12:56:51 +02:00
Lior Halphon 67dee21804 Fix typos, remove broken and unused macro 2024-12-01 18:58:23 +02:00
Lior Halphon 9ff3bffddd Fix thread assertion in GB_set_sample_rate, should make GB_set_clock_multiplier thread-safe. Fix missing memset. 2024-11-30 00:10:46 +02:00
Lior Halphon 27a064caff Make `GB_serial_set_data_bit` a bit more thread safe 2024-11-24 20:58:12 +02:00
Lior Halphon b4fc2ff7ba Move things around some more 2024-11-24 14:36:12 +02:00
Lior Halphon a39b1913b8 Much thread, very safety 2024-11-23 16:23:08 +02:00
Lior Halphon c3d83eae22 Missing assertion in GB_safe_read_memory 2024-11-23 15:45:54 +02:00
Lior Halphon a0c5b6f97a Various optimizations 2024-11-23 00:16:42 +02:00
Lior Halphon 7e071e463d Improve band-limited synth 2024-11-21 21:12:30 +02:00
Lior Halphon 8f9e1e9ea5 Prevent certain APIs from returning 0 despite failing 2024-11-21 17:51:27 +02:00
Lior Halphon 1bf57ece70 Fix iOS builds 2024-11-21 17:51:08 +02:00
Lior Halphon 29d8cca511 Keep moving and renaming things 2024-11-16 22:53:06 +02:00
Lior Halphon f1f97f0692 Make STRUCT_VERSION internal 2024-11-16 17:16:58 +02:00
Lior Halphon 0b5be876b3 Missing _t from types 2024-11-16 17:15:51 +02:00
Lior Halphon fdc39f9bd6 Rename GB_log_attributes to GB_log_attributes_t 2024-11-16 16:53:06 +02:00
Lior Halphon 14e486017a Move things around 2024-11-16 15:19:47 +02:00
Lior Halphon 3bee0deda5 Warn when loading ROMs with RAM sizes less than a bank 2024-11-16 14:33:13 +02:00
Lior Halphon 101e894314 Fixed a rounding error when applying the high-pass filter on high sample rate 2024-11-16 13:59:38 +02:00
Lior Halphon 2e6ff5fd9f Disable filtering on raw audio output 2024-11-16 12:31:45 +02:00
Lior Halphon 2b3ec9d991 Missing nounroll 2024-11-16 02:23:11 +02:00