Steveice10
f2ee9baec7
core: Eliminate more uses of Core::System::GetInstance(). ( #7313 )
2024-01-05 12:07:28 -08:00
GPUCode
5a7f615da1
kernel: Update to use atmosphere macros and correct Result ( #7242 )
...
* kernel: Switch to atmosphere style macros
* code: Rename ResultCode to Result
* code: Result constants are lower case
* Address review comments
* core: Remove CASCADE_CODE
* R_TRY replaces completely
* core: Run clang format
2023-12-31 09:01:40 -08:00
GPUCode
59df319f48
kernel: Improve accuracy of KResourceLimit emulation ( #7221 )
...
* core: Refactor resource limits
* svc: Implement SetResourceLimitLimitValues
* Also correct existing name and add missing error codes
2023-12-04 13:31:06 +02:00
PabloMK7
b6acebcb11
Stub some missing AM Ticket functions ( #7172 )
2023-11-18 15:55:47 -08:00
PabloMK7
63d1830429
Download TWL titles from NUS and list them in AM. ( #7162 )
...
* Download TWL titles from NUS and list them in AM.
* Remove duplicate entries.
* Move TODO comment
2023-11-14 01:33:58 -08:00
Steveice10
07839fb3ce
qt: Add option to uninstall a game. ( #7064 )
...
* qt: Add option to uninstall a game.
* Address review comments.
2023-10-14 18:11:59 -07:00
Steveice10
28c542c2c2
build: Fix compiling citra-qt for iOS. ( #6983 )
...
* build: Fix compiling citra-qt for iOS.
* Update src/citra_qt/configuration/configure_general.cpp
Co-authored-by: Tobias <thm.frey@gmail.com >
---------
Co-authored-by: Tobias <thm.frey@gmail.com >
2023-09-17 16:07:56 -07:00
Steveice10
b2092de871
build: Fix web service functionality. ( #6903 )
2023-08-19 17:34:35 -07:00
Steveice10
335fb78c5c
service/am: Clean up and optimize CIA installation. ( #6718 )
2023-07-30 21:40:35 +02:00
Steveice10
bb364d9bc0
service/apt: Add and implement more service commands. ( #6721 )
...
* service/apt: Add and implement more service commands.
* service/apt: Implement power button.
* Address review comments and fix GetApplicationRunningMode bug.
2023-07-29 00:26:16 -07:00
Steveice10
e043caac27
hle: Eliminate need to specify command headers for IPC. ( #6678 )
2023-07-14 17:32:59 -07:00
Steveice10
662bb9ba77
hle: Stub some service calls used by the home menu. ( #6675 )
2023-07-07 22:05:38 -07:00
GPUCode
cf9bb90ae3
code: Use std::span where appropriate ( #6658 )
...
* code: Use std::span when possible
* code: Prefix memcpy and memcmp with std::
2023-07-07 01:52:40 +03:00
GPUCode
2126c240cd
core: backport some ResultCode updates ( #6645 )
...
Co-authored-by: Lioncash <mathew1800@gmail.com >
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com >
2023-07-03 02:23:53 +02:00
Vitor K
34de77d429
Various miscelaneous changes ( #6496 )
2023-05-03 17:24:10 +02:00
PabloMK7
63bc0b59bb
Use IPC:MakeHeader instead of hardcoded raw values for IPC command tables. ( #6453 )
...
* Use IPC:MakeHeader instead of hardcoded values for IPC command tables.
* Use u32 instead of unsigned int in MakeHeader function
Co-authored-by: SachinVin <26602104+SachinVin@users.noreply.github.com >
* Fix clang format
---------
Co-authored-by: SachinVin <26602104+SachinVin@users.noreply.github.com >
2023-04-27 22:31:03 -07:00
Steveice10
c96f54f022
Implement app management support (suspend, resume, close, etc) ( #6322 )
2023-03-10 00:44:26 +01:00
Steveice10
bf73cb57ca
am: Return installed titles in GetNumTickets and GetTicketList stubs. ( #6292 )
2023-02-17 16:20:56 +02:00
Steveice10
6bef34852c
Add option to configure to download system files from Nintendo Update Service ( #6269 )
...
Co-authored-by: B3n30 <benediktthomas@gmail.com >
2023-02-09 21:58:08 +02:00
GPUCode
38b8bf12de
Merge pull request #6168 from PabloMK7/cia_update_fix
...
Fix handling of auto-updating ncch apps
2022-11-09 17:35:16 +02:00
Tobias
1ddea27ac8
code: Cleanup and warning fixes from the Vulkan PR ( #6163 )
...
Co-authored-by: emufan4568 <geoster3d@gmail.com >
Co-authored-by: Kyle Kienapfel <Docteh@users.noreply.github.com >
2022-11-04 23:32:57 +01:00
PabloMK7
e14b9f7a25
Fix clang-format and unused include
2022-10-27 01:09:18 +02:00
PabloMK7
d396944487
Fix self updating ncch app jump
2022-10-21 01:12:29 +02:00
PabloMK7
c49379442d
Fix auto updating ncch files
2022-10-20 23:14:57 +02:00
FearlessTobi
da908a9ed1
core: Remove unnecessary enum casts in log calls
...
Follows the video core PR. fmt doesn't require casts for enum classes
anymore, so we can remove quite a few casts.
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com >
2020-12-29 06:39:21 +01:00
Ben
1722701c07
[WIP] NCCHContainer: support for partitions if container is NCSD ( #5345 )
...
* GetProgramLaunchInfo: improve to for 3ds files
* NCSD: allow to load other partitions
* fix typo
* Update src/core/hle/service/fs/fs_user.cpp
Co-authored-by: Valentin Vanelslande <vvanelslandedev@gmail.com >
* Update src/core/hle/service/fs/fs_user.cpp
Co-authored-by: Valentin Vanelslande <vvanelslandedev@gmail.com >
Co-authored-by: Marshall Mohror <mohror64@gmail.com >
Co-authored-by: Valentin Vanelslande <vvanelslandedev@gmail.com >
2020-07-14 09:14:30 -05:00
LC
902cc1eb49
am: Resolve truncation and sign conversion warnings in WriteContentData() ( #5397 )
...
We can adjust the API to allow std::size_t indices, which simplifies
operating with standard container types. It also prevents truncation
warnings from occurring in these cases as well.
2020-06-20 13:09:56 -05:00
Lioncash
d859f5c9eb
am: Remove redundant c_str() calls
...
Avoids redundant std::string constructions.
2020-06-06 00:00:03 -04:00
Mat M
e9819b61a6
service: Mark variables as [[maybe_unused]] where applicable ( #5318 )
...
Quite a few service functions are stubbed but still pop all their
arguments, which can lead to unused variable warnings.
We can mark the unused arguments with [[maybe_unused]] to silence these
warnings until a full implementation of these functions are made.
2020-05-04 12:22:33 +02:00
Sebastian Valle
3597921ec5
Merge pull request #5235 from lioncash/move
...
ipc_helpers: Make PushStaticBuffer take std::vector by value
2020-04-19 21:51:52 -05:00
Mat M
8014c67faa
service: Resolve trivially avoidable copies ( #5237 )
...
* am/am: Avoid redundant copy in GetProgramInfoFromCia()
We can just use a reference to the title metadata. Avoids copying
several data entries and std::vector instances that don't need to be
copied.
* hle/service: Avoid redundant copying of std::string
GetUserPath() returns the path as a reference, so we can make use of
said reference to avoid making copies.
2020-04-19 09:24:37 +02:00
Lioncash
a6e37b48e9
ipc_helpers: Make PushStaticBuffer take std::vector by value
...
Allows interfaces to move the vector into the calls, avoiding any
reallocations.
Many existing call sites already std::move into the parameter, expecting
a move to occur. Only a few remain where this wasn't already
being done, which we can convert over.
2020-04-18 19:17:11 -04:00
Ben
c605bb42db
Merge pull request #4908 from hamish-milne/feature/savestates-2
...
Save states
2020-04-17 21:52:51 +02:00
Hamish Milne
9bd189a155
More cleaning up
2020-03-29 19:07:56 +01:00
Hamish Milne
6760ea18b6
Serialize ArchiveManager and other code review actions
2020-03-29 18:56:25 +01:00
B3n30
ed51f06097
fix path usage in InstallCia
2020-03-17 13:40:58 +01:00
B3n30
1d92343344
fix more review comments
2020-03-15 19:00:26 +01:00
B3n30
2465fd423a
fix review comments
2020-03-15 18:57:29 +01:00
B3n30
391580c658
fix clang-format
2020-03-15 18:50:52 +01:00
B3n30
ae4ba287d5
warn if cia contend is encrypted
2020-03-15 18:23:19 +01:00
Hamish Milne
7b846ffa98
clang-format fixes
2020-02-13 17:39:15 +08:00
Hamish Milne
5265c79056
APT service serialization
2020-02-13 17:38:21 +08:00
Hamish Milne
3e752002c4
Replace g_kernel with Core::Global etc.
2020-02-13 17:38:21 +08:00
Hamish Milne
e707685c2a
Serialize AM services
2020-02-13 17:38:20 +08:00
Weiyi Wang
909d04ddea
Remove unused stuff
...
Some unused variables are still kept in services, as they are parameters passed from the command buffer and might be used in the future
2019-07-16 20:27:03 -04:00
Weiyi Wang
5f11c5f733
Kernel: replace boost::intrusive_ptr with std::shared_ptr
2019-03-24 14:32:11 -04:00
Weiyi Wang
13c26b4371
Kernel: pass ref to session pair
2018-10-18 21:41:36 -04:00
Weiyi Wang
7449ba85a6
Kernel: pass ref in Mutex
2018-10-18 21:41:36 -04:00
Weiyi Wang
9adc407112
Merge pull request #4304 from B3n30/std_optional
...
Replace boost::optional with std::optional where possible
2018-10-11 12:40:00 -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