Commit Graph

997 Commits

Author SHA1 Message Date
Jesse Talavera-Greenberg
e24953d518 Mark all option keys as constexpr 2023-08-17 18:01:01 -04:00
Jesse Talavera-Greenberg
7998ec5d17 Update the README 2023-08-17 08:31:07 -04:00
Jesse Talavera-Greenberg
a32524f15a Oops, forgot to remove Platform::WriteNDSSave from platform.cpp 2023-08-16 22:22:39 -04:00
Jesse Talavera-Greenberg
a3893da912 Fix #45 2023-08-16 22:13:22 -04:00
Jesse Talavera-Greenberg
eaf2210b15 Return nullptr if the save manager is null 2023-08-16 21:22:32 -04:00
Jesse Talavera-Greenberg
fda6c4a8fd Rename a function 2023-08-16 21:22:17 -04:00
Jesse Talavera-Greenberg
673c0684c3 Move init_gba_save to sram.cpp 2023-08-16 21:13:17 -04:00
Jesse Talavera-Greenberg
178a0c3dfc Rename sram::InitNdsSave to sram::InitNdsSram 2023-08-16 21:09:46 -04:00
Jesse Talavera-Greenberg
43b87d9634 Move init_nds_save into sram.cpp 2023-08-16 21:06:44 -04:00
Jesse Talavera-Greenberg
08974f3ce2 Move the contents of gba.cpp into sram.cpp 2023-08-16 18:54:55 -04:00
Jesse Talavera-Greenberg
d8d89df21a Move the SaveManager definition to sram.cpp 2023-08-16 18:45:00 -04:00
Jesse Talavera-Greenberg
e15df7da43 Move definitions of the save managers to a new file 2023-08-16 18:41:39 -04:00
Jesse Talavera-Greenberg
74abd853de Clean up some more variables 2023-08-16 18:08:02 -04:00
Jesse Talavera-Greenberg
cbc0109bff Remove some log calls in set_environment 2023-08-16 16:14:14 -04:00
Jesse Talavera-Greenberg
5059a1670a Call task_queue_reset in retro::task::deinit 2023-08-16 16:14:02 -04:00
Jesse Talavera-Greenberg
00c9c5bbed Fix asserts being triggered when flushing files
- I think it's because I was mixing frontend and libretro-common VFS functions
- They may be the same (at least in RetroArch's case), but they can still be compiled differently
2023-08-16 16:13:39 -04:00
Jesse Talavera-Greenberg
5d3eb255cb Assert that the file we're trying to clean up was opened in the first place 2023-08-16 16:09:09 -04:00
Jesse Talavera-Greenberg
4ae41cb7dd Fix Platform::IsEndOfFile
- filestream_eof returns 0 on success, not true
2023-08-16 16:08:25 -04:00
Jesse Talavera-Greenberg
2ca093d616 Fix some mistakes in file.cpp 2023-08-16 09:02:20 -04:00
Jesse Talavera-Greenberg
9e2bc1ed9b Revise some logging 2023-08-16 09:01:58 -04:00
Jesse Talavera-Greenberg
d4ae10dad1 Keep the flush timers in a pointer to a map
- Unloading a DLL doesn't call destructors
2023-08-16 09:01:37 -04:00
Jesse Talavera-Greenberg
b7a812d9e5 Assert that some structure are null upon startup and cleanup 2023-08-16 08:42:57 -04:00
Jesse Talavera-Greenberg
c2cbbce2d7 Assert that some structure are null upon startup and cleanup 2023-08-16 08:41:41 -04:00
Jesse Talavera-Greenberg
3d4978c515 Handle ConfigEntry::WifiSettingsPath 2023-08-16 08:40:46 -04:00
Jesse Talavera-Greenberg
12c1b63a0d Don't use Platform::LocalFileExists in melonds::config::verify_dsi_bios 2023-08-16 08:40:23 -04:00
Jesse Talavera-Greenberg
ec2c2ca95e Make paths in OpenLocalFile consistently use forward slashes 2023-08-15 21:11:40 -04:00
Jesse Talavera-Greenberg
ba257fba63 Store the NAND path relative to the system directory
- Also, check the melonDS DS and melonDS subdirectories
2023-08-15 20:14:03 -04:00
Jesse Talavera-Greenberg
3bf510114c Search several places for the NAND file 2023-08-15 19:58:58 -04:00
Jesse Talavera-Greenberg
aaa75d255f Remove dirent::name 2023-08-15 19:42:43 -04:00
Jesse Talavera-Greenberg
d96a406bcf Make NOT_FOUND empty instead of "n/a" 2023-08-15 19:39:59 -04:00
Jesse Talavera-Greenberg
cd49e52223 Remove unnecessary stuff 2023-08-15 19:39:09 -04:00
Jesse Talavera-Greenberg
c77bddbf98 Make most of dirent's methods private 2023-08-15 18:16:48 -04:00
Jesse Talavera-Greenberg
09e44628a8 Rename file_tree to dirent_tree 2023-08-15 18:13:04 -04:00
Jesse Talavera-Greenberg
3f4a292b28 Add retro::get_system_fallback_subdirectory 2023-08-15 17:52:13 -04:00
Jesse Talavera-Greenberg
ae67f4a5d3 Clarify some language around the JIT 2023-08-15 17:35:05 -04:00
Jesse Talavera-Greenberg
a81abc01dc Make Fast Memory less obstructive in debug builds
- Turn it off by default in debug builds
- Advise that it should be turned off when running the core in a debugger
2023-08-15 17:34:47 -04:00
Jesse Talavera-Greenberg
3f26929781 Include environment.hpp correctly 2023-08-15 17:24:11 -04:00
Jesse Talavera-Greenberg
2cbb0a1101 Specify sscache explicitly 2023-08-14 23:25:35 -04:00
Jesse Talavera-Greenberg
d720ae6789 Use PATHS instead of HINTS 2023-08-14 23:18:34 -04:00
Jesse Talavera-Greenberg
9caeadd349 Comment on disabled features 2023-08-14 23:08:35 -04:00
Jesse Talavera-Greenberg
fc29e59165 Disable OpenGL on macOS 2023-08-14 23:07:19 -04:00
Jesse Talavera-Greenberg
c1a614b4c1 Look for sccache in $HOME/.cargo 2023-08-14 23:07:05 -04:00
Jesse Talavera-Greenberg
cbad3d0db9 Update ccache-action 2023-08-14 23:04:23 -04:00
Jesse Talavera-Greenberg
3948283897 Forgot another include 2023-08-14 22:44:13 -04:00
Jesse Talavera-Greenberg
21b164b670 Forgot an include 2023-08-14 22:41:33 -04:00
Jesse Talavera-Greenberg
61b2712933 Bump version to 0.3.0 2023-08-14 22:39:26 -04:00
Jesse Talavera-Greenberg
2409a49b9e Fix up includes in dirent.cpp 2023-08-14 22:38:56 -04:00
Jesse Talavera-Greenberg
ff1dfaba01 Allow config options to be set dynamically 2023-08-14 22:35:20 -04:00
Jesse Talavera-Greenberg
8ff7a73703 Return false if an empty filename is given 2023-08-14 22:34:53 -04:00
Jesse Talavera-Greenberg
c059a1482b Add some extra constants 2023-08-14 22:34:35 -04:00