Commit Graph

160 Commits

Author SHA1 Message Date
profi200 4e4c2aa2b5
Updated all libretro based color profiles.
Added GB micro, GBA SP (AGS-101), DS lite and VBA/No$GBA profiles.
2024-12-04 00:44:14 +01:00
profi200 dd90d498c4
!Breaking change! Changed the config file format to use strings in many places instead of values.
Added a new saturation setting for color profiles other than none.
Removed lcdGamma and displayGamma temporarily.
Updated README.md with all the changes.
2024-12-03 20:34:53 +01:00
Elouan Martinet 877f7c61d0 Add an option to use current rom directory for config and saves 2024-10-28 09:30:36 +01:00
profi200 edd43a6fcc
Updated libn3ds.
Fixed hang on power off when all backlights are off (libn3ds).
Screenshots are now always in native resolution.
2024-08-30 18:45:24 +02:00
profi200 79b2457e8b
[File browser] Filter out all entries starting with a dot. F.....g Mac OS. 2024-07-31 16:19:46 +02:00
profi200 5356e5c89a
Implemented full gamma correction for top LCDs which improves colors noticeably without crushing details in shadows.
The disadvantage is that the gbaGamma, lcdGamma, brightness and contrast settings don't work anymore for now. They will be reimplemented with color profile settings later.
2024-07-30 16:37:05 +02:00
profi200 67ce019b36
Forgot to check the ROM size before adding the padding. 2024-07-26 21:22:40 +02:00
profi200 41db8760a6
Made ROM padding code ~42% faster. 2024-07-26 20:37:49 +02:00
profi200 b1c66e24a2 Added experimental support for true color correction to mimic the look of the crappy GBA LCD. Thanks to hunterk and Pokefan531 for their work on the libretro shaders this is based on. 2024-07-25 17:19:41 +02:00
profi200 f7efd62ea9 Fixed save type selector cursor at the wrong position and added cache flushing. 2024-07-25 17:19:41 +02:00
profi200 073daac2bb Separated video functions into own .c file. 2024-07-25 17:19:41 +02:00
profi200 15436e02a7 Updated submodules.
Fixed compatibility with latest libn3ds.
2024-07-25 17:19:41 +02:00
profi200 bd5b207106 Updated bitmap.h with comments. 2024-07-25 17:19:41 +02:00
profi200 7c8c3d6fe8 Load GBA scaler matrix from SD if found. 2024-07-25 17:19:41 +02:00
profi200 1ad621d4f4 Fixed a file handle leak just introduced by myself. Thanks @PSI-Rockin for finding it. 2024-07-25 17:19:41 +02:00
profi200 9f331c24f7 Use a more safe variant of binary search for the GBA db. 2024-07-25 17:19:41 +02:00
profi200 3ffb706f3b Fixed strict-aliasing warning in save_type.c. 2024-07-25 17:19:41 +02:00
profi200 c85a4b1b57 Fixed strict-aliasing warnings in gpu_cmd_lists.c. 2024-07-25 17:19:41 +02:00
profi200 6db20e190c Added min macro to patch.c because it was removed from libn3ds. 2024-07-25 17:19:41 +02:00
profi200 d7f701f02a Fixed compatibility with latest libn3ds. 2024-07-25 17:19:41 +02:00
Nemris 9d13ad3722 Refactor IPS patching. 2024-02-24 20:45:18 +01:00
Nemris 07bdaf521d Normalize indentation. 2024-02-24 20:45:18 +01:00
profi200 e14704181c
Round the gamma table entries instead of discarding the fraction part. 2024-01-29 17:43:58 +01:00
profi200 63e4422db1
Cleaned up the old gamma table adjustment code a little. 2023-10-06 16:11:20 +02:00
profi200 5f46a967a8
Hardcode GPU cmd list sizes in the header instead of 2 places so i don't make *that* mistake again. 2023-09-20 00:24:47 +02:00
profi200 dc5ac1749f
Fixed ROM mirrors for 1 MiB ROMs. Thanks to @endrift for discovering this. 2023-09-20 00:15:31 +02:00
profi200 855f6b131a
Added a few missing copyright headers. 2023-09-19 20:58:03 +02:00
profi200 e77b04f089
Split open_agb_firm.c into more .c files. A long overdue change. 2023-09-19 20:48:07 +02:00
profi200 ddba28b226
Fixed a double free oopsie. 2023-08-25 13:17:56 +02:00
profi200 8db77d523e
Oops, this happens when not checking wtf the written code actually does. 2023-08-23 02:33:22 +02:00
profi200 4377d28d14
Use macro for GPU render buffer address. 2023-08-23 02:26:09 +02:00
profi200 1ca27c22f6
Disable borders for scaled modes. There are so few pixels left they don't make sense. 2023-08-23 02:21:50 +02:00
profi200 6766b224dc
Set scale matrix outside libn3ds. 2023-08-23 02:09:29 +02:00
Harrison 92c591da22
GBA database updates (#128) 2023-08-23 01:30:01 +02:00
profi200 cf7d1915e0
Added software audio volume control. 2023-08-12 18:17:13 +02:00
profi200 8ecc7ce458
Added border support for 1:1 scaling mode. 2023-08-10 22:29:16 +02:00
profi200 014c341e67
Added button remapping. Closes #25. 2023-08-07 01:57:15 +02:00
profi200 726a4f3355
Implemented proper headphone detection.
Added a config option to override the audio output.
2023-08-05 02:07:13 +02:00
profi200 93d5cdf045
Moved open_agb_firm specific error codes and error printing out of libn3ds. 2022-07-24 01:52:03 +02:00
spitzeqc 834c0ffbbf
Added IPS and UPS patch support (#75) 2022-07-14 02:46:37 +02:00
profi200 1fe529f4c5
Overhauled brightness control. 2022-06-29 15:58:09 +02:00
spitzeqc ee21e3edb0 Changed backlight power to use GFX_powerOffBacklights() and moved brightness control to 'main' function 2022-06-28 00:41:14 +02:00
spitzeqc 6b5abf383d Added ability to turn screen on and off 2022-06-28 00:41:14 +02:00
spitzeqc 56bf27a026 Added brightness adjustment in-game 2022-06-28 00:41:14 +02:00
profi200 9bd9497315
Fixed glitches when taking screenshots. This should also fix freezes.
Screenshots now have the date and time in the file name.
2022-06-20 20:03:46 +02:00
profi200 25b1f794c2
Fixed/improved documentation.
Made triggering the screenshot feature easier. Exact timing is no longer required when pressing SELECT + Y. However the screenshot feature may cause graphic glitches. This will be fixed later.
2022-06-20 18:10:25 +02:00
profi200 b128dd4575
Do not power off if an error occurs while powering off. 2022-05-22 21:12:34 +02:00
profi200 78fd101c66
Allow ROMs bigger than 32 MiB to be loaded with a warning.
Note: If any game/ROM hack tries to access data out of bounds it will crash sooner or later. Don't open issues for such ROMs.
2022-05-01 20:33:13 +02:00
profi200 2222e54f0f
Fixed a bug that may cause the file browser not to display all 1000 files.
Made file sorting faster.
Miscellaneous fixes.
2022-01-16 20:46:38 +01:00
profi200 a9fcf853bb
Forgot a newline while changing the default config in previous commit. Fixes #53. 2022-01-05 16:19:46 +01:00