TsundereStation/src/core
Nikos Chantziaras 0cca23ff30
Add CHD precache support
This uses the chd_precache() function of libchdr which just loads the
CHD image to memory without decompressing it. So this is "weaker" than
the full preload to RAM option, which fully decompresses the CHD image,
but it still solves the problem of having the CHD images stored on
unreliable network storage. It's also much faster, since CHDs are quite
slow to decompress in whole.

The main point of this is to be able to use M3U files to run multi-disc
games and still be able to work around unreliable storage. The full
preload to RAM option does not work with M3U files. This option does.

CHD precache is ignored (and the option disabled in the UI) if the full
preload to RAM option is enabled.
2022-02-04 21:40:28 +02:00
..
analog_controller.cpp AnalogController: Simulate status byte toggling 2021-11-07 12:31:27 -08:00
analog_controller.h AnalogController: Simulate status byte toggling 2021-11-07 12:31:27 -08:00
analog_joystick.cpp Controller: Round floating point axis values instead of flooring 2021-07-17 20:38:23 +10:00
analog_joystick.h AnalogJoystick: Make setter methods public 2021-05-10 13:35:58 +10:00
bios.cpp System: Add a workaround for PSF files with incorrect header 2021-11-06 10:48:23 +10:00
bios.h PSFLoader: Detect region from exe 2021-01-24 17:37:09 +10:00
bus.cpp Make DoSafeMemoryAccess return true properly for RAM, BIOS, dcache writes 2021-09-24 10:07:04 +02:00
bus.h Support expanding RAM to 8MB (dev console) 2021-05-03 12:43:33 +10:00
cdrom.cpp CDROM: Fix incorrect delay on setmode while shell opening 2021-11-05 15:19:23 +10:00
cdrom.h CDROMAsyncReader: Support reading ahead more sectors 2021-07-12 21:14:06 +10:00
cdrom_async_reader.cpp CDROM: Fix async readahead causing lockups in some games 2021-07-14 01:25:49 +10:00
cdrom_async_reader.h CDROM: Fix async readahead causing lockups in some games 2021-07-14 01:25:49 +10:00
cheats.cpp Cheats: Use safe memory access routines 2021-09-10 15:53:15 +10:00
cheats.h New F6 Cheat Type (IF,ELSE IF, ELSE structure) 2021-08-21 15:08:34 +01:00
CMakeLists.txt GPU: Add D3D12 renderer 2021-07-10 21:45:10 +10:00
controller.cpp OSD: Add controller input display overlay 2021-04-04 04:08:42 +10:00
controller.h OSD: Add controller input display overlay 2021-04-04 04:08:42 +10:00
core.props Build: Unify MSBuild options in props files 2021-07-10 21:45:10 +10:00
core.vcxproj GPU: Add D3D12 renderer 2021-07-10 21:45:10 +10:00
core.vcxproj.filters GPU: Add D3D12 renderer 2021-07-10 21:45:10 +10:00
cpu_code_cache.cpp CPU/CodeCache: Fix currently-invalidated blocks breaking memory states 2022-01-06 22:47:10 +10:00
cpu_code_cache.h CPU/CodeCache: Add InvalidateAll() method 2021-12-25 14:28:32 +10:00
cpu_core.cpp CPU: Prevent mismatched va_start/va_end in log 2022-01-06 22:47:10 +10:00
cpu_core.h CPU: Make Safe{Read,Write}Memory{Byte,Halfword,Word} truely safe 2021-09-10 15:53:14 +10:00
cpu_core_private.h CPU: Simulate stalls from GTE instructions 2021-07-16 12:27:31 +10:00
cpu_disasm.cpp CPU: Don't panic on invalid instructions 2021-06-15 22:58:29 +10:00
cpu_disasm.h CPU: Provide debugger/breakpoint/step functionality 2020-12-17 11:57:47 +10:00
cpu_recompiler_code_generator.cpp CPU/Recompiler: Reduce register usage of SWL/SWR 2021-09-10 15:53:11 +10:00
cpu_recompiler_code_generator.h CPU/Recompiler: Implement block linking 2021-07-24 13:07:11 +10:00
cpu_recompiler_code_generator_aarch32.cpp CPU/Recompiler/ARM: Optimize icache check 2021-07-24 14:07:37 +10:00
cpu_recompiler_code_generator_aarch64.cpp CPU/Recompiler/ARM: Optimize icache check 2021-07-24 14:07:37 +10:00
cpu_recompiler_code_generator_generic.cpp Separate fastmem rewrite feature into its own option & have CPU Execution Mode OSD message only appear when switching CPU Execution Mode 2021-12-26 00:05:20 +01:00
cpu_recompiler_code_generator_x64.cpp Fix a few warnings over the place 2021-09-26 09:56:17 +10:00
cpu_recompiler_register_cache.cpp CPU/Recompiler: Implement block linking 2021-07-24 13:07:11 +10:00
cpu_recompiler_register_cache.h CPU/Recompiler: Implement block linking 2021-07-24 13:07:11 +10:00
cpu_recompiler_thunks.h CPU/Recompiler: Implement block linking 2021-07-24 13:07:11 +10:00
cpu_recompiler_types.h WIN32 macro -> _WIN32 2021-06-30 14:38:07 +10:00
cpu_types.cpp CPU/Recompiler: Implement block linking 2021-07-24 13:07:11 +10:00
cpu_types.h CPU/Recompiler: Implement block linking 2021-07-24 13:07:11 +10:00
digital_controller.cpp OSD: Add controller input display overlay 2021-04-04 04:08:42 +10:00
digital_controller.h OSD: Add controller input display overlay 2021-04-04 04:08:42 +10:00
dma.cpp Support expanding RAM to 8MB (dev console) 2021-05-03 12:43:33 +10:00
dma.h SPU: Fix a few cases where SPU interrupts weren't firing 2021-01-10 01:39:21 +10:00
gdb_protocol.cpp Various warning fixes 2021-02-06 19:19:55 +10:00
gdb_protocol.h Core: Implement GDB protocol 2020-12-26 00:47:02 +10:00
gpu.cpp Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu.h Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_backend.cpp Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_backend.h Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_commands.cpp Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_hw.cpp Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_hw.h Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_hw_d3d11.cpp Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_hw_d3d11.h GPU/HW: Implement oversized VRAM fills in hardware 2021-07-21 19:24:10 +10:00
gpu_hw_d3d12.cpp Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_hw_d3d12.h GPU/HW: Implement oversized VRAM fills in hardware 2021-07-21 19:24:10 +10:00
gpu_hw_opengl.cpp Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_hw_opengl.h GPU/HW: Implement oversized VRAM fills in hardware 2021-07-21 19:24:10 +10:00
gpu_hw_shadergen.cpp GPU/HW: Implement oversized VRAM fills in hardware 2021-07-21 19:24:10 +10:00
gpu_hw_shadergen.h GPU/HW: Implement oversized VRAM fills in hardware 2021-07-21 19:24:10 +10:00
gpu_hw_vulkan.cpp Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_hw_vulkan.h GPU/HW: Implement oversized VRAM fills in hardware 2021-07-21 19:24:10 +10:00
gpu_sw.cpp Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_sw.h Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_sw_backend.cpp Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_sw_backend.h Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gpu_types.h Revert https://github.com/libretro/swanstation/pull/43, fixes 'Use Software Renderer For Readbacks' 2022-01-21 21:14:41 +01:00
gte.cpp CPU: Simulate stalls from GTE instructions 2021-07-16 12:27:31 +10:00
gte.h CPU: Simulate stalls from GTE instructions 2021-07-16 12:27:31 +10:00
gte_types.h JIT optimizations and refactoring (#675) 2020-07-31 17:09:18 +10:00
host_display.cpp System: Render save state screenshots at fixed resolution 2021-04-28 02:51:44 +10:00
host_display.h GPU: Add D3D12 renderer 2021-07-10 21:45:10 +10:00
host_interface.cpp Add CHD precache support 2022-02-04 21:40:28 +02:00
host_interface.h HostInterface: Fix Linux build 2021-11-26 11:43:58 +10:00
host_interface_progress_callback.cpp Common: Add title, modal information to ProgressCallback 2020-08-06 19:32:53 +10:00
host_interface_progress_callback.h Common: Add title, modal information to ProgressCallback 2020-08-06 19:32:53 +10:00
interrupt_controller.cpp JIT optimizations and refactoring (#675) 2020-07-31 17:09:18 +10:00
interrupt_controller.h JIT optimizations and refactoring (#675) 2020-07-31 17:09:18 +10:00
libcrypt_game_codes.cpp System: Add a libcrypt game list, and check serials 2020-12-18 03:03:22 +10:00
libcrypt_game_codes.h System: Add a libcrypt game list, and check serials 2020-12-18 03:03:22 +10:00
mdec.cpp MDEC: EOB is optional for complete blocks 2021-11-14 20:46:05 -08:00
mdec.h MDEC: Handle invalid commands 2020-12-19 02:44:46 +10:00
memory_card.cpp MemoryCard: Sanitize game titles for file names 2021-05-20 12:19:28 +10:00
memory_card.h System: Add non-persistent memory card type 2021-05-23 17:12:01 +10:00
memory_card_image.cpp MemoryCardImage: Fix incorrect format string 2021-06-26 00:03:18 +10:00
memory_card_image.h Qt/MemoryCardEditor: Support undeleting files 2021-06-25 14:43:19 +10:00
multitap.cpp Multitap: Add option to enable only on port 2 2021-03-01 14:59:59 -08:00
multitap.h Multitap: Add option to enable only on port 2 2021-03-01 14:59:59 -08:00
namco_guncon.cpp Use better multipliers for GunCon 2022-01-11 03:29:48 +01:00
namco_guncon.h OSD: Add controller input display overlay 2021-04-04 04:08:42 +10:00
negcon.cpp Controller: Round floating point axis values instead of flooring 2021-07-17 20:38:23 +10:00
negcon.h OSD: Add controller input display overlay 2021-04-04 04:08:42 +10:00
pad.cpp Fix a bunch of compiler warnings 2021-06-04 13:14:30 +10:00
pad.h CommonHostInterface: Add swap memory cards hotkey 2021-05-20 12:19:28 +10:00
pgxp.cpp PGXP: Fix memory past 2MB 2021-08-23 02:18:06 +10:00
pgxp.h PGXP: Further optimizations 2021-06-12 22:02:33 +10:00
playstation_mouse.cpp Rework & move LibRetro specific PS Mouse & GunCon code where possible, ifdef what needs to stay 2021-12-20 21:06:31 +01:00
playstation_mouse.h OSD: Add controller input display overlay 2021-04-04 04:08:42 +10:00
psf_loader.cpp Common/FileSystem: Add BuildRelativePath() function 2021-04-17 21:52:26 +10:00
psf_loader.h PSFLoader: Detect region from exe 2021-01-24 17:37:09 +10:00
resources.cpp
resources.h
save_state_version.h AnalogController: Simulate status byte toggling 2021-11-07 12:31:27 -08:00
settings.cpp Add CHD precache support 2022-02-04 21:40:28 +02:00
settings.h Add CHD precache support 2022-02-04 21:40:28 +02:00
shader_cache_version.h GPU/ShaderGen: Use [unroll] for resolve loops 2021-07-11 13:08:25 +10:00
shadergen.cpp GPU/ShaderGen: Use [unroll] for resolve loops 2021-07-11 13:08:25 +10:00
shadergen.h GPU/OpenGL: Use shader instead of framebuffer blit 2021-04-06 02:19:56 +10:00
sio.cpp Set DSRINPUTLEVEL and CTSINPUTLEVEL to true for Armored Core 2021-10-24 12:09:59 +02:00
sio.h JIT optimizations and refactoring (#675) 2020-07-31 17:09:18 +10:00
spu.cpp SPU: Drop OOB register warnings to dev level 2021-11-26 11:31:59 +10:00
spu.h SPU: Add a macro to enable per-voice dumping 2021-08-07 13:21:53 +10:00
system.cpp Add CHD precache support 2022-02-04 21:40:28 +02:00
system.h reapply swanstation commits to latest upstream 2021-10-14 23:30:13 +02:00
texture_replacements.cpp WIN32 macro -> _WIN32 2021-06-30 14:38:07 +10:00
texture_replacements.h GPU: Support replacing VRAM writes with new textures 2020-12-26 00:47:03 +10:00
timers.cpp Timers: Better predict next event time 2021-02-22 12:21:44 +10:00
timers.h Timers: Handle target = 0 case 2021-02-09 01:01:36 +10:00
timing_event.cpp TimingEvent: Fix event list getting unsorted on Delay 2021-07-31 13:25:03 +10:00
timing_event.h TimingEvent: Add Delay method 2021-06-14 14:55:20 +10:00
types.h A few more fixes 2021-07-27 19:19:21 +07:00