James Rowe
b7cf793814
Merge pull request #3113 from shinyquagsire23/sdl-cia-install
...
SDL CIA Installation
2017-11-24 10:23:20 -07:00
shinyquagsire23
70ff3c72f1
Services/AM: Detect encrypted CIAs
2017-11-20 20:45:21 -07:00
shinyquagsire23
253954930f
Services/AM: Return InstallStatus for InstallCIA
2017-11-19 21:56:02 -07:00
Sebastian Valle
555c8ba7c1
Merge pull request #3077 from Subv/hle_static_buffer
...
Kernel/IPC: Implement StaticBuffer translation for HLE services that use the HLERequestContext architecture.
2017-11-19 11:34:02 -05:00
shinyquagsire23
56e906f1e3
Services/AM: Add InstallCIA function for frontends
2017-11-15 16:05:37 -07:00
shinyquagsire23
1f2aa29dee
Services/AM: Move CIA finalization into Close(), Close() on destruction of class
2017-11-15 16:05:33 -07:00
shinyquagsire23
750e7e06b1
Services/AM: Expose CIAFile class in AM header
2017-11-15 12:05:03 -07:00
Sebastian Valle
947067de81
Merge pull request #3085 from Subv/get_service_handle
...
HLE/SRV: Don't return the port handle if it isn't available when calling GetServiceHandle.
2017-11-15 13:46:12 -05:00
shinyquagsire23
1edbbf7f8c
Services/AM: Add GetTitleMediaType
2017-11-15 11:26:00 -07:00
James Rowe
5eabe60aa3
Merge pull request #2969 from mailwl/ptm_step
...
Service/PTM: Stub GetStepHistory function
2017-11-15 09:39:17 -07:00
Subv
afb6dd7747
HLE/SRV: Don't return the port handle if it isn't available when calling GetServiceHandle.
...
This was incorrect behavior that somehow found its way to 3dbrew. The correct behavior is to sleep until the port becomes available again and then return a session to it.
This is currently unimplemented due to the inability to put a guest thread to sleep during HLE requests.
The correct behavior was reverse engineered by TuxSH a while ago but we never corrected the code in citra.
2017-11-15 11:26:49 -05:00
Max Thomas
689fe57430
Services/AM: Fix content writing on Windows ( #3114 )
2017-11-15 10:26:16 +01:00
Subv
c9c1ba0952
Kernel/IPC: Implement StaticBuffer translation for HLE services that use the HLERequestContext architecture.
...
The real kernel requires services to set up their static buffer targets ahead of time. This implementation does not require that and will simply create the storage for the buffers as they are processed in the incoming IPC request.
Static buffers are kept in an unordered_map keyed by their buffer id, and are written into the already-setup area of the request thread when responding an IPC request.
This fixes a regression (crash) introduced in #2992 .
This PR introduces more warnings due to the [[deprecated]] attribute being added to void PushStaticBuffer(VAddr buffer_vaddr, size_t size, u8 buffer_id); and VAddr PopStaticBuffer(size_t* data_size);
2017-11-12 11:00:00 -05:00
Sebastian Valle
7d12aaaa20
Merge pull request #3087 from shinyquagsire23/am-more-errors
...
Services/AM: Add errors and adjust naming for accuracy
2017-11-07 09:09:48 -05:00
shinyquagsire23
c07f1b275c
Services/AM: Rename and readjust GetNumContentInfos for accuracy
2017-11-06 21:36:49 -07:00
shinyquagsire23
d854d4119a
Services/AM: Rename and adjust ListContentInfos for accuracy
2017-11-06 21:35:00 -07:00
shinyquagsire23
c6e43ae79d
Services/AM: Rename and adjust FindContentInfos for accuracy
2017-11-06 21:35:00 -07:00
shinyquagsire23
69cc04a06d
Services/AM: Fix warnings
2017-11-06 21:34:54 -07:00
bunnei
6e12b11353
Merge pull request #3078 from Subv/ac_sessions
...
Services/AC: Corrected the number of concurrent connections for AC_I and AC_U
2017-11-06 13:21:29 -05:00
Sebastian Valle
8ba2de1580
Merge pull request #3029 from shinyquagsire23/am-title-install
...
Services/AM: Add CIA title installation support.
2017-11-05 21:23:55 -05:00
shinyquagsire23
e00a45c500
Services/AM: Add CIA title installation support.
2017-11-05 13:26:29 -07:00
shinyquagsire23
7ea04bb55c
Services/AM: Fix log commands
2017-11-05 13:26:29 -07:00
shinyquagsire23
ce806dcdf6
file_sys/title_metadata: Allow loading from both files, FileBackends, and data
2017-11-05 13:26:29 -07:00
Subv
d4077b0196
Services/AC: Corrected the number of concurrent connections for AC_I and AC_U
...
The number was reverse engineered from the AC module.
2017-11-05 14:28:06 -05:00
Weiyi Wang
4fc0448093
Merge pull request #3064 from wwylele/printf-warnings
...
Clean all format warnings
2017-11-05 10:32:46 +02:00
bunnei
5885ca4503
Merge pull request #3067 from Hexagon12/wsacleanup-soc-fix
...
Removed duplicate calls of WSACleanup in soc_u.
2017-11-04 13:39:09 -04:00
James Rowe
c14f802381
Merge pull request #2992 from Subv/ac_srvframework
...
Services/AC: Converted the ac:i and ac:u services to the new service framework.
2017-11-04 10:42:09 -06:00
Sebastian Valle
3fe9b332bc
Merge pull request #2989 from B3n30/sendTo_PullPacket_Bind
...
Service/UDS: Implement Bind, Unbind, SendTo, PullPacket, and GetNodeInformation
2017-11-04 10:58:49 -05:00
Hexagon12
695ff7cff3
Clang pls (again)
2017-11-04 17:41:20 +02:00
Hexagon12
81e36150d3
Clang pls
2017-11-04 17:32:12 +02:00
B3n30
ed9db735a2
Service/UDS: Updated BeginHostingNetwork
2017-11-04 15:41:54 +01:00
B3n30
f6d16c3f87
Service/UDS: Implement Unbind and GetNodeInformation
2017-11-04 15:41:54 +01:00
B3n30
230ea063a5
Service/UDS: Implement SendTo, PullPacket, HandleSecureData, and Bind
2017-11-04 15:41:27 +01:00
Hexagon12
4ded138139
Update soc_u.cpp
2017-11-04 16:30:48 +02:00
Hexagon12
5d123144ff
Removed all instances of WSACleanup();.
2017-11-04 15:03:04 +02:00
wwylele
499508389c
core: clear format warnings
2017-11-01 12:35:32 +02:00
Subv
95df4e674a
Services/AC: Converted the ac:i and ac:u services to the new service framework.
2017-10-27 19:39:19 -05:00
shinyquagsire23
2e38ea7a33
Services/AM: Implement GetPatchTitleInfos, correct error codes/returns, misc fixes
2017-10-26 21:06:29 -06:00
Sebastian Valle
aee8bf680c
Merge pull request #3032 from Dragios/errno
...
Remove some errno constants as it was already defined
2017-10-23 10:30:18 -05:00
Dragios
eb671d8513
Remove some errno constants as it was already defined
2017-10-22 14:22:27 +08:00
Dragios
e46f66a5fa
Remove Crypto++ weak algorithm warning
2017-10-22 13:56:59 +08:00
James Rowe
dcb48840c3
Merge pull request #2993 from shinyquagsire23/am-and-archive-ncch-rework
...
AM Service and NCCH Archive Rework
2017-10-20 22:59:38 -06:00
shinyquagsire23
1ac5137655
file_sys/archive_ncch: Use AM to get title content path, add ExeFS support and support for additional content indexes
2017-10-18 21:19:40 -06:00
shinyquagsire23
b9fc359e7e
Services/AM: Add title scanning, move to ipc_helper.h, implement most stubbed service calls
2017-10-18 21:19:34 -06:00
Dragios
83e5f639e6
Change command header in nwm::UDS Initialize function
2017-10-09 09:10:48 +08:00
Sebastian Valle
84c344b9b1
Merge pull request #2953 from Subv/applet_launch
...
HLE/APT: Always set up the APT parameter when starting a library applet.
2017-10-04 15:01:58 -05:00
Subv
5bae5a48b9
Services/NIM: Implement CheckForSysUpdateEvent.
...
Implementation verified by reverse engineering.
This lets the Home Menu boot without crashing on startup.
2017-09-30 13:21:45 -05:00
B3n30
afb1012bcd
Services/UDS: Handle the rest of the connection sequence. ( #2963 )
...
Services/UDS: Handle the rest of the connection sequence.
2017-09-30 18:18:45 +02:00
Sebastian Valle
7056b9c46a
Merge pull request #2946 from Subv/home_menu_apt
...
Implement PrepareToStartNewestHomeMenu and fixed an APT regression.
2017-09-30 10:47:42 -05:00
Huw Pascoe
a13ab958cb
Fixed type conversion ambiguity
2017-09-30 09:34:35 +01:00