Jesse Talavera-Greenberg
401c30b26d
Add settings for firmware paths
2023-08-26 15:03:38 -04:00
Jesse Talavera-Greenberg
561fdf2102
Return nullopt for negative languages
2023-08-26 14:33:12 -04:00
Jesse Talavera-Greenberg
cde622ba56
Apply firmware overrides
2023-08-26 14:32:47 -04:00
Jesse Talavera-Greenberg
23d4e6eb0d
Update descriptions for some firmware options
2023-08-26 14:31:49 -04:00
Jesse Talavera-Greenberg
40ffaf737b
Parse the new firmware options
2023-08-26 13:21:38 -04:00
Jesse Talavera-Greenberg
427fe29dd6
Add a new firmware options category
2023-08-26 13:20:22 -04:00
Jesse Talavera-Greenberg
e6d53843ee
Move firmware validation out of libretro.cpp
2023-08-26 09:46:18 -04:00
Jesse Talavera-Greenberg
2e40b016c4
Don't clear the firmwarePath
2023-08-24 22:36:09 -04:00
Jesse Talavera-Greenberg
3046d1eb1f
Give SPI_Firmware the unique_ptr instead
2023-08-24 22:35:56 -04:00
Jesse Talavera-Greenberg
40dad4f076
Remove an exception
2023-08-24 22:35:28 -04:00
Jesse Talavera-Greenberg
e27f219e47
Fix a potential lifetime problem with std::initializer_list
2023-08-24 22:35:13 -04:00
Jesse Talavera-Greenberg
49bf6bc9b1
Install the firmware in config.cpp
2023-08-24 22:23:00 -04:00
Jesse Talavera-Greenberg
1c83835918
Add some FirmwareLanguage flags
2023-08-24 22:22:18 -04:00
Jesse Talavera-Greenberg
c18ae42d39
Add Color::Default
2023-08-24 22:22:08 -04:00
Jesse Talavera-Greenberg
9f8633e2e9
Mark EffectiveFirmwarePath as inline
2023-08-24 22:21:54 -04:00
Jesse Talavera-Greenberg
c531e7f810
Add an attribute to retro::log
2023-08-24 22:20:01 -04:00
Jesse Talavera-Greenberg
a3c05f19be
Fix incorrect condition in retro::get_system_path
...
- string_views don't include the null terminator if they're constructed from an existing string
2023-08-24 22:19:26 -04:00
Jesse Talavera-Greenberg
e7af37cccd
Add retro::username
2023-08-24 22:18:44 -04:00
Jesse Talavera-Greenberg
0dc65bf435
Split up retro::task::deinit into wait and reset
2023-08-24 22:18:30 -04:00
Jesse Talavera-Greenberg
f4a9887e79
Set the default name to melonDS DS
2023-08-24 21:55:11 -04:00
Jesse Talavera-Greenberg
0bfa741874
Use ParseLanguage
2023-08-24 21:54:49 -04:00
Jesse Talavera-Greenberg
1c366f7efb
Add ParseLanguage
2023-08-24 21:53:01 -04:00
Jesse Talavera-Greenberg
690f22f977
Add some constants
2023-08-24 21:52:38 -04:00
Jesse Talavera-Greenberg
b1c96b5fd3
Add some attributes to environment functions
2023-08-24 19:50:36 -04:00
Jesse Talavera-Greenberg
e0c641a13d
Mark retro_run as hot
2023-08-24 19:49:21 -04:00
Jesse Talavera-Greenberg
2c511a78ac
Implement Platform::WriteFirmware
2023-08-22 22:18:28 -04:00
Jesse Talavera-Greenberg
ca02bf20b7
Implement retro::get_system_path
2023-08-22 22:17:14 -04:00
Jesse Talavera-Greenberg
2bdfd77669
Unset task->user_data after deleting it
2023-08-22 21:41:31 -04:00
Jesse Talavera-Greenberg
ddbafb5ceb
Remove old FlushGbaSramTask declaration
2023-08-22 21:35:22 -04:00
Jesse Talavera-Greenberg
d2d0087695
Refactor some tasks
...
- Tasks no longer need to finish if cancelled, the task queue will do it
- Add cleanup handlers so tasks will clean up after themselves
- Pass save info to the GBA SRAM flush task instead of querying global state
- Mark tasks as noexcept
2023-08-22 21:33:52 -04:00
Jesse Talavera-Greenberg
0dd5e45ee6
Deprecate melonds::file::FlushTask
2023-08-22 21:22:25 -04:00
Jesse Talavera-Greenberg
edd2fe7ea4
Implement TaskHandle::GetError/SetError
2023-08-22 21:12:22 -04:00
Jesse Talavera-Greenberg
36deb4a30b
Don't run any task if it's cancelled
...
- Cleanup should be handled in the callback or the cleanup handler
2023-08-22 21:11:44 -04:00
Jesse Talavera-Greenberg
f042d35c1b
If the task title is empty, don't clone it
2023-08-22 20:58:00 -04:00
Jesse Talavera-Greenberg
91dfc17d40
Ensure the handler is valid before allocating the task
2023-08-22 20:57:36 -04:00
Jesse Talavera-Greenberg
372b99eac6
Add TaskHandle::IsFinished
2023-08-22 20:57:14 -04:00
Jesse Talavera-Greenberg
94de2995cd
Add task callback support to retro::task
2023-08-22 20:21:07 -04:00
Jesse Talavera-Greenberg
0bf34ec710
Deprecate SaveManager
2023-08-22 19:36:51 -04:00
Jesse Talavera-Greenberg
84aac54225
Misc. updates in config.hpp
2023-08-22 18:41:44 -04:00
Jesse Talavera-Greenberg
96dd8432a6
Fix a scope name
2023-08-22 18:41:17 -04:00
Jesse Talavera-Greenberg
c9bffb7f72
Clarify some language in a setting
2023-08-22 18:40:14 -04:00
Jesse Talavera-Greenberg
9635138fe0
Change some settings to return string_view instead of string
2023-08-22 18:39:53 -04:00
Jesse Talavera-Greenberg
0b5c83ab77
Remove the use of FileType
2023-08-18 15:49:22 -04:00
Jesse Talavera-Greenberg
1e72a010bc
Update libretro-common
2023-08-18 15:05:46 -04:00
Jesse Talavera-Greenberg
1fd6781db0
Use std::initializer_list instead
2023-08-18 10:41:23 -04:00
Jesse Talavera-Greenberg
0c7ba3339e
Add some on-screen display config
...
- Fix #37
- Fix #36
- Fix #20
2023-08-17 22:53:15 -04:00
Jesse Talavera-Greenberg
7583a84971
Move all config items into a constexpr variable
2023-08-17 20:19:23 -04:00
Jesse Talavera-Greenberg
429863a902
Reindent categories.hpp
2023-08-17 18:35:43 -04:00
Jesse Talavera-Greenberg
b9530e9ad4
Move category definitions to a templated array constant
2023-08-17 18:27:29 -04:00
Jesse Talavera-Greenberg
e24953d518
Mark all option keys as constexpr
2023-08-17 18:01:01 -04:00