citra/src/common
zhupengfei a487016cb4
core, citra_qt: Implement a save states file format and slot UI
10 slots are offered along with 'Save to Oldest Slot' and 'Load from Newest Slot'.

The savestate format is similar to the movie file format. It is called CST (Citra SavesTate), and is basically a 0x100 byte header (consisting of magic, revision, creation time and title ID) followed by Zstd compressed raw savestate data.

The savestate files are saved to the `states` folder in Citra's user folder. The files are named like `<Title ID>.<Slot ID>.cst`.
2020-02-18 13:19:52 +08:00
..
logging logging/backend: Change type of filename from string to const char* 2020-01-28 14:29:26 +01:00
serialization Refactor out the wakeup_callback function pointer 2020-02-13 17:42:05 +08:00
x64 common/cpu_detect: Remove Common::CPUVendor 2019-12-09 22:39:56 +00:00
alignment.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
announce_multiplayer_room.h core, web_service: Check for error when registering rooms 2019-04-20 12:50:14 +08:00
archives.h Correct exports; add some file serialization; fix service base object serialization 2020-02-13 17:42:07 +08:00
assert.h fix clang-format and lambda capture 2019-10-05 10:54:07 -04:00
bit_field.h common/bit_field: Make BitField trivially copyable 2019-03-16 04:10:03 +01:00
bit_set.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
chunk_file.h reformat all files with clang-format 2018-06-29 16:56:12 +03:00
cityhash.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
cityhash.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
CMakeLists.txt Refactor out the wakeup_callback function pointer 2020-02-13 17:42:05 +08:00
color.h common/vector_math: Move Vec[x] types into the Common namespace 2019-03-02 15:04:13 +01:00
common_funcs.h Merge pull request #4021 from FearlessTobi/port-709 2018-08-02 11:00:53 -06:00
common_paths.h core, citra_qt: Implement a save states file format and slot UI 2020-02-18 13:19:52 +08:00
common_types.h Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
construct.h Serialize CECD, CFG services 2020-02-13 17:41:25 +08:00
detached_tasks.cpp new-line that clang-format didn't fix 2019-11-09 12:56:17 -07:00
detached_tasks.h Review comments - part 5 2018-10-20 10:35:55 -04:00
file_util.cpp core, citra_qt: Implement a save states file format and slot UI 2020-02-18 13:19:52 +08:00
file_util.h core, citra_qt: Implement a save states file format and slot UI 2020-02-18 13:19:52 +08:00
hash.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
linear_disk_cache.h Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
math_util.h common/math_util: Provide a template deduction guide for Common::Rectangle 2019-06-01 02:10:36 +02:00
memory_ref.cpp Changed u8* to MemoryRef 2020-02-13 17:42:00 +08:00
memory_ref.h Correct exports; add some file serialization; fix service base object serialization 2020-02-13 17:42:07 +08:00
microprofile.cpp Integrate the MicroProfile profiling library 2015-08-24 22:16:28 -03:00
microprofile.h Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
microprofileui.h Common: Remove section measurement from profiler (#1731) 2016-04-29 00:07:10 -07:00
misc.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
param_package.cpp citra_qt/configuration: misc input tab improvements 2018-09-08 11:26:10 +08:00
param_package.h citra_qt/configuration: misc input tab improvements 2018-09-08 11:26:10 +08:00
quaternion.h common/vector_math: Move Vec[x] types into the Common namespace 2019-03-02 15:04:13 +01:00
ring_buffer.h ring_buffer: Fix Push 2018-09-19 07:14:36 +01:00
scm_rev.cpp.in Add shader cache version generation 2020-01-15 19:58:33 -07:00
scm_rev.h Add shader cache version generation 2020-01-15 19:58:33 -07:00
scope_exit.h common/scope_exit: Replace std::move with std::forward in ScopeExit() 2019-04-15 17:55:44 +02:00
string_util.cpp remove Common::TrimSourcePath 2019-03-10 19:18:09 -05:00
string_util.h common/string_util: Move TextFromBuffer to string_util 2019-04-08 22:34:21 +08:00
swap.h common/swap: Improve codegen of the default swap fallbacks 2019-04-15 17:56:16 +02:00
telemetry.cpp common: Add a generic interface for logging telemetry fields. 2017-05-24 19:16:21 -04:00
telemetry.h compatdb: Use a seperate endpoint for testcase submission 2018-10-27 12:20:03 +02:00
texture.cpp new-line that clang-format didn't fix 2019-11-09 12:56:17 -07:00
texture.h specify size of buffer and use openglstate in getteximageoes 2019-11-09 12:58:17 -07:00
thread_queue_list.h Added Signals; more runtime fixes 2020-02-13 17:42:09 +08:00
thread.cpp Port various minor changes from yuzu PRs (#4725) 2019-05-01 14:28:49 +02:00
thread.h Port various minor changes from yuzu PRs (#4725) 2019-05-01 14:28:49 +02:00
threadsafe_queue.h common: SPSCQueue: Notify after incrementing queue size. 2020-01-19 13:35:49 +01:00
timer.cpp Address review comments 2018-09-06 00:00:21 +02:00
timer.h common/timer: use std::chrono, avoid platform-dependent code 2018-07-22 15:40:07 +08:00
vector_math.h clang-format fixes 2020-02-13 17:39:15 +08:00
web_result.h Put WebResult into a seperate file 2018-10-27 00:39:02 +02:00
zstd_compression.cpp Address review and update zstd 2020-01-15 19:58:34 -07:00
zstd_compression.h Address review and update zstd 2020-01-15 19:58:34 -07:00