Hamish Milne and zhupengfei
e3c0211b74
Fix clang format
2020-02-13 17:41:22 +08:00
Hamish Milne and zhupengfei
eb67167b7c
Serialize IR service
2020-02-13 17:41:22 +08:00
Hamish Milne and zhupengfei
8bd3e8cd27
Serialize HTTP service
2020-02-13 17:41:22 +08:00
Hamish Milne and zhupengfei
74361fa3fb
Serialize HID service
2020-02-13 17:41:21 +08:00
Hamish Milne and zhupengfei
30494c06a4
Serialize GSP service
2020-02-13 17:41:21 +08:00
Hamish Milne and zhupengfei
9877bf7d48
Change how the boost target works; disable external warnings in MSVC
2020-02-13 17:41:20 +08:00
Hamish Milne and zhupengfei
d041901a30
Some more CI fixes
2020-02-13 17:41:20 +08:00
Hamish Milne and zhupengfei
c7106e232f
Fix a bug on mingw
2020-02-13 17:41:16 +08:00
Hamish Milne and zhupengfei
d6862c2fca
Some CI fixes
2020-02-13 17:40:52 +08:00
Hamish Milne and zhupengfei
7b846ffa98
clang-format fixes
2020-02-13 17:39:15 +08:00
Hamish Milne and zhupengfei
d482fb359c
Attempting to fix mingw on windows
2020-02-13 17:38:25 +08:00
Hamish Milne and zhupengfei
6917eaf53b
Use load_construct_data for kernel objects
2020-02-13 17:38:25 +08:00
Hamish Milne and zhupengfei
3ed8d95866
Serialize FS service; some compiler fixes
2020-02-13 17:38:24 +08:00
Hamish Milne and zhupengfei
d1096de245
Added FRD service serialization
2020-02-13 17:38:24 +08:00
Hamish Milne and zhupengfei
4354179156
Added ERR service serialization
2020-02-13 17:38:23 +08:00
Hamish Milne and zhupengfei
452ae2e371
Added DSP service serialization
2020-02-13 17:38:23 +08:00
Hamish Milne and zhupengfei
30fe2bfe38
Added DLP service serialization
2020-02-13 17:38:23 +08:00
Hamish Milne and zhupengfei
a0c3b91785
Added CSND serialization
2020-02-13 17:38:23 +08:00
Hamish Milne and zhupengfei
17b9cbefef
CAM service serialization
2020-02-13 17:38:22 +08:00
Hamish Milne and zhupengfei
1185d62792
BOSS service serialization
2020-02-13 17:38:22 +08:00
Hamish Milne and zhupengfei
5265c79056
APT service serialization
2020-02-13 17:38:21 +08:00
Hamish Milne and zhupengfei
3e752002c4
Replace g_kernel with Core::Global etc.
2020-02-13 17:38:21 +08:00
Hamish Milne and zhupengfei
e707685c2a
Serialize AM services
2020-02-13 17:38:20 +08:00
Hamish Milne and zhupengfei
89e4e49a63
Finished AC and ACT service serialization
2020-02-13 17:38:20 +08:00
Hamish Milne and zhupengfei
3fd5c431f1
Service serialization framework; done AC
2020-02-13 17:38:20 +08:00
Hamish Milne and zhupengfei
ac0337d8df
Started IPC services serialization
2020-02-13 17:38:19 +08:00
Hamish Milne and zhupengfei
7a5bde0b44
Serialize service manager, server prt
2020-02-13 17:38:19 +08:00
Hamish Milne and zhupengfei
4f95575d41
Serialize some more kernel objects
2020-02-13 17:38:18 +08:00
Hamish Milne and zhupengfei
8c81500dee
Serialize kernel/hle/memory
2020-02-13 17:38:18 +08:00
Hamish Milne and zhupengfei
c284192a87
Serialize geometry_pipeline
2020-02-13 17:38:17 +08:00
Hamish Milne and zhupengfei
f557d26b40
Added CPU, mutex, process, thread, timer
2020-02-13 17:38:16 +08:00
Hamish Milne and zhupengfei
06891d9454
Added client/server objects
2020-02-13 17:38:16 +08:00
Hamish Milne and zhupengfei
5035e68dad
Added derived kernel objects
2020-02-13 17:38:15 +08:00
Hamish Milne and zhupengfei
f79c9668a3
Added shader state; WIP kernel objects
2020-02-13 17:38:10 +08:00
Hamish Milne and zhupengfei
6f00976ab5
video_core serialization
2020-02-13 17:34:16 +08:00
Hamish Milne and zhupengfei
ee2cae2093
Added core serialization
2020-02-13 17:34:13 +08:00
Hamish Milne and zhupengfei
dc04774ece
Added POD serialization
2020-02-13 17:27:51 +08:00
Hamish Milne and zhupengfei
6940c99ed6
Added boost serialization
2020-02-13 17:27:50 +08:00
zhupengfei
4273b967b5
core/file_sys: Do not apply the same mods to DLCs
...
Now you can apply separate mods to DLCs and mods for the original title won't be applied.
2020-02-11 14:03:07 +08:00
zhupengfei
b81c9bd738
fix clang format
2020-02-10 07:41:31 +08:00
zhupengfei
d9ae4c332d
layered_fs: Do not open all replacement files on load
...
Instead open them when we want to read them. This is because the standard library has a limit on the number of opened files.
2020-02-09 21:48:42 +08:00
zhupengfei
13e2d534e9
core: Add dump RomFS support
...
This is added to LayeredFS, then the NCCH container and then the loader interface.
2020-02-09 20:59:31 +08:00
James Rowe and GitHub
17e9522921
Merge pull request #5069 from vitor-k/min-window2
...
Update minimum window size based on current layout
2020-02-08 12:46:20 -07:00
zhupengfei
db18f6c79a
Address review
...
simplify code
2020-02-07 23:53:00 +08:00
zhupengfei
2ec99b83aa
core: Reset archive_manager on shutdown.
...
This holds the archives which include the SelfNCCH archive which holds the RomFS files. If we don't reset it the LayeredFS class can't get destructed and mods files won't be released.
2020-02-07 23:45:02 +08:00
zhupengfei
6e0afbaa19
Fix build
...
Explicitly use `std::min<std::size_t>`
Added virtual destructor
2020-02-07 16:26:33 +08:00
zhupengfei
eed9de2336
core/file_sys: Allow exheader replacement to be read from mods path
...
The previous method (filename.exheader) can still be used.
2020-02-07 15:55:35 +08:00
zhupengfei
53d0c618a0
core/file_sys: Read mods for the original title for updates
...
Updates can override RomFS and ExeFS, therefore we should apply the mods to them as well.
2020-02-07 15:20:20 +08:00
zhupengfei
91e5a39a08
core/file_sys: Allow exefs mods to be read from mods path
...
The original path (file_name.exefsdir) is still supported, but alternatively users can choose to put exefs patches in the same place as LayeredFS files (`load/mods/<Title ID>/exefs`).
2020-02-07 15:20:19 +08:00
zhupengfei
8a570bf00c
core: Use LayeredFS while reading RomFS
...
Only enabled for NCCHs that do not have an override romfs.
LayeredFS files should be put in the `load` directory in User Directory. The directory structure is similar to yuzu's but currently does not allow named mods yet. Replacement files should be put in `load/mods/<Title ID>/romfs` while patches/stubs should be put in `load/mods/<Title ID>/romfs_ext`.
2020-02-07 15:20:18 +08:00