167 Commits

Author SHA1 Message Date
twinaphex 460f5e745d Silence some MSVC 2019 code analysis warnings 2022-03-05 14:39:56 +01:00
jdgleaver 42e03cae83 Disable save states based on save state support level defined in core info files (#13562) 2022-02-02 16:49:53 +01:00
jdgleaver 40925baacd Enable SRAM for contentless cores 2021-10-14 13:59:23 +01:00
Michael Burgardt d8db234df0 Concatinate some previously truncated strings for easier translation (#12120) 2021-09-16 19:00:14 +02:00
bulzipke 8018be5c9b Fix ram states to file when core deinit (#12956)
* Fix ram states to file when core deinit

* Fix unterminated state_path
Call CMD_EVENT_RAM_STATE_TO_FILE when CMD_EVENT_UNLOAD_CORE too
2021-09-08 18:01:07 +02:00
bulzipke 8adc24ecbc (3DS) Add bottom screen menu (#12470)
* (3DS) Add bottom screen menu
 -> User can save/load state on botom screen with thumbnail.
 -> Call a save_state_to_file() when RAM state has data to write a disk.
 -> If the bottom screen needs updating, swap the bottom framebuffers.

Add: SAVE/LODE STATE TO RAM
 -> This is useful for devices with slow I/O
 -> 3DS bottom save state use CMD_EVENT_SAVE_STATE_TO_RAM
 -> 3DS bottom load state use CMD_EVENT_LOAD_STATE when RAM state has no data
 -> 3DS bottom load state use CMD_EVENT_LOAD_STATE_FROM_RAM when RAM sate has data

* Rewrite path_get_state to retroarch_get_current_savestate_path

* Fix unterminated state_path
2021-09-03 18:14:03 +02:00
twinaphex 13a2d2419f (PSL1GHT) Fix function prototype for 'button' pad driver
(Task save) Fix warning in platform port
2021-08-09 20:25:27 +02:00
twinaphex b5d4c5b041 Silence -Wsizeof-pointer-memaccess warnings pointed out here -
https://travis-ci.org/github/libretro/RetroArch/jobs/764003625
2021-03-22 23:43:11 +01:00
twinaphex 6cc51fa5f5 task_load_handler - small cleanups 2021-03-17 10:40:47 +01:00
twinaphex 7e2113b405 (task_save.c) Allocate the string on heap instead of putting it on stack 2021-03-17 10:12:04 +01:00
CrystalCT 9ac61f9cc5 Add some PSL1GHT ifdefs 2021-03-17 08:46:02 +01:00
Jamiras ba1d48fb6a ensure hardcore remains disabled through load process 2021-02-28 13:07:24 -07:00
Jamiras 1e39de800c fix undo load state (#12062) 2021-02-21 22:50:27 +01:00
Jamiras 2280d126f3 address feedback 2021-02-18 07:44:52 -07:00
Jamiras 2d841715cb include achievement runtime state in save states 2021-02-17 19:44:39 -07:00
sonninnos 90485b5586 Savestate logging cleanup 2021-02-03 13:29:32 +02:00
twinaphex 870707dbe8 Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead 2020-12-19 15:32:26 +01:00
unknown 26559d635e fix segmentation faulf on PS3 when Load State 2020-11-07 01:42:58 +01:00
twinaphex 44b7234756 Move cheat_manager and state_manager to root folder 2020-10-15 05:29:20 +02:00
Tony Jansson 6918b4b5cb Savestate logging cleanup 2020-10-15 03:54:53 +03:00
Justin Weiss fb9aa961b7 [3DS] Increase file buffer size and savestate chunk size 2020-09-09 18:29:47 -07:00
twinaphex ad7db2e2b8 Move path variables off heap size; prevent potential memory
fragmentation
2020-08-18 12:44:14 +02:00
twinaphex 87c0fb6323 Struct reordering 2020-08-14 18:58:09 +02:00
Jamiras 9aa42c9d5e only wait for save task to complete 2020-07-10 20:18:03 -06:00
twinaphex 7862166ed2 Add back HAVE_SCREENSHOTS define from SSNES days 2020-07-01 17:47:13 +02:00