Hamish Milne
f156fdd332
clang format fixes etc.
2020-03-31 18:27:33 +01:00
Hamish Milne
6760ea18b6
Serialize ArchiveManager and other code review actions
2020-03-29 18:56:25 +01:00
Hamish Milne
04aa351c40
Code review - general gardening
2020-03-29 16:14:36 +01:00
Hamish Milne
5604613642
More merge fixes
2020-03-27 21:48:58 +00:00
zhupengfei
57efc41973
service/cecd: Add missing SessionData serialization
2020-02-14 17:15:08 +08:00
Hamish Milne
e4afa8e512
Make the tests pass
2020-02-13 17:42:04 +08:00
Hamish Milne
2d2c7218ef
Serialize CECD, CFG services
2020-02-13 17:41:25 +08:00
Ben
f4da2de99a
Set accepted EULA version to max value ( #4728 )
...
* Set accepted EULA version to max value
CFG: write the max value of 0x7F7F to the default cfg savegame and
auto update on init
CECD: Actually read the EULA version from CFG
2019-04-23 23:18:27 +02:00
Weiyi Wang
05058863b5
cleanup includes
2019-03-26 10:50:41 -04:00
Weiyi Wang
5f11c5f733
Kernel: replace boost::intrusive_ptr with std::shared_ptr
2019-03-24 14:32:11 -04:00
Weiyi Wang
a6d9baa05a
FS: pass down program ID for archive operation
...
To eliminate System::GetInstance usage. Archive type like SelfNCCH and SaveData changes the actual reference path for different client, so archive backend interface should accept client information from the service interface. Currently we only pass the program ID as the client information.
2019-02-02 20:44:13 -05:00
Weiyi Wang
8fb3d8ff38
kernel/process: move current process to kernel instance
...
Two functional change:
QueryProcessMemory uses the process passed from handle instead current_process
Thread::Stop() uses TLS from owner_process instead of current_process
2018-10-22 21:32:34 -04:00
Weiyi Wang
eec11a94cb
Kernel: pass Kernel ref in Event
2018-10-18 21:41:36 -04:00
Weiyi Wang
b163502744
Core: pass down Core::System reference to all services ( #4272 )
...
* Core: pass down Core::System reference to all services
This has to be done at once due to unified interface used by HLE/LLE switcher
* apt: eliminate Core::System::GetInstance
* gpu_gsp: eliminate Core::System::GetInstance in service
* hid: eliminate Core::System::GetInstance
* nwm: eliminate Core::System::GetInstance
* err_f: eliminate Core::System::GetInstance
2018-10-05 10:59:43 -04:00
Weiyi Wang
bb252ecab3
cecd: access FS via backend directly
2018-09-28 17:03:24 -04:00
Weiyi Wang
08bfba5d8e
Merge pull request #4005 from NarcolepticK/stub-cecd
...
service/cecd: Implement some functions
2018-09-27 10:08:14 -04:00
Lioncash
46da908a00
service: Use nested namespace specifiers where applicable
...
There were a few places where nested namespace specifiers weren't being
used where they could be within the service code. This amends that to
make the namespacing a tiny bit more compact.
2018-09-22 16:14:10 +02:00
NarcolepticK
0d15b99bfc
service/cecd: Corrected cecd:s function table
2018-09-11 14:39:48 -04:00
NarcolepticK
105bcc95c0
service/cecd: Add hmac handling
2018-09-10 19:53:23 -04:00
NarcolepticK
192a0f3b92
service/cecd: Update handling of /outbox/boxinfo and /outbox/obindex
2018-09-10 04:21:24 -04:00
NarcolepticK
648cecf1aa
service/cecd: Utilize CryptoPP::Base64Encoder for message id
2018-09-07 23:09:14 -04:00
NarcolepticK
ff1beca74a
service/cecd: Fixed enum item naming style
2018-09-07 19:36:33 -04:00
NarcolepticK
69b3217394
service/cecd: Addressed comments, code cleanup
2018-09-06 15:50:27 -04:00
NarcolepticK
c89759f597
service/cecd: Corrected eventlog.dat creation
2018-09-06 15:50:27 -04:00
NarcolepticK
c185c35bc2
service/cecd: Clang format fixup
2018-09-06 15:50:27 -04:00
NarcolepticK
dd7234a6d0
service/cecd: Migrate Common::StringFromFormat(...) to fmt::format(...)
2018-09-06 15:50:27 -04:00
NarcolepticK
25e7209d5c
service/cecd: Updated function names
2018-09-06 15:50:27 -04:00
NarcolepticK
7a8477d106
service/cecd: Implement mboxlist handling
2018-09-06 15:50:27 -04:00
NarcolepticK
0e8398b51c
service/cecd: Update header checks and increased debug logging
2018-09-06 15:50:27 -04:00
NarcolepticK
71204e525f
service/cecd: Corrected behaviour, started checking and updating file headers
2018-09-06 15:50:27 -04:00
NarcolepticK
d88ad61da4
service/cecd: Output icon to MBoxData.001 and title to MBoxData.010
2018-09-06 15:50:27 -04:00
NarcolepticK
010fbd8614
service/cecd: Update default values for in/out box info header
2018-09-06 15:50:27 -04:00
NarcolepticK
d99585aa53
service/cecd: Add MBox directory check to OpenAndRead and OpenAndWrite and added a CreateAndPopulateMBoxDirectory function
2018-09-06 15:50:27 -04:00
NarcolepticK
30bbea3f4e
service/cecd: Add initial files to archive after it is formatted
2018-09-06 15:50:27 -04:00
NarcolepticK
e27c1bd1f5
service/cecd: Addressed comment about PopEnum
2018-09-06 15:50:27 -04:00
NarcolepticK
413f1651b7
service/cecd: Implement basic file handling functions.
2018-09-06 15:50:26 -04:00
NarcolepticK
2ee395d7de
service/cecd: Implement functions
2018-09-06 15:50:26 -04:00
NarcolepticK
5dacf92fd7
service/cecd: Stub some functions
2018-09-06 15:50:26 -04:00
NarcolepticK
d6f86caf30
service/cecd: Addressed comment about using PushEnum instead of Push<u32>
2018-07-01 12:54:53 -04:00
NarcolepticK
37532f8a76
service/cecd: Fixed clang format
2018-06-30 23:52:45 -04:00
NarcolepticK
363d6fdb89
service/cecd: Migrate to ServiceFramework
2018-06-30 23:38:54 -04:00
wwylele
7c5a76e58b
log: replace all NGLOG with LOG
2018-06-29 14:18:07 +03:00
NarcolepticK
c9737ff16c
service/cecd: Migrate logging macros
2018-06-19 15:07:17 -04:00
Yuri Kunde Schlesner
723dc644fa
ResultVal: Remove MoveFrom()
...
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in
case you already have an rvalue.
2017-06-18 19:03:15 -07:00
Yuri Kunde Schlesner
d96a9e0c11
Service: Remove unnecessary includes from service.h
...
This has a huge fallout in terms of needing to fix other files because
all service implementations included that file.
2017-06-06 02:57:23 -07:00
mailwl
7f27be1521
Service/CECD: Add cecd:ndm service
2016-12-15 09:52:40 +03:00
Lioncash
0229983ff2
cecd_u: Update function table
...
Updated based off information from 3dbrew.
2016-12-08 00:56:46 -05:00
Yuri Kunde Schlesner
84fbbe2629
Use negative priorities to avoid special-casing the self-include
2016-09-21 00:15:56 -07:00
Emmanuel Gil Peyrot
ebdae19fd2
Remove empty newlines in #include blocks.
...
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
2016-09-21 11:15:47 +09:00
Yuri Kunde Schlesner
396a8d91a4
Manually tweak source formatting and then re-run clang-format
2016-09-18 21:14:25 -07:00