Commit Graph

56 Commits

Author SHA1 Message Date
PTRCoder
40ca69fafd Fixed MemorySystem retrieval 2024-08-24 14:47:30 +02:00
PTRCoder
bb08716752 Fixed lingering remnant of old value 2024-08-24 14:47:30 +02:00
PTRCoder
d76311bb1b Fixed missing argument 2024-08-24 14:47:30 +02:00
PTRCoder
01655fbbb0 Added retrieval of VAddr from input 2024-08-24 14:47:30 +02:00
PTRCoder
b5d616bbed Fixed wrong dummy data 2024-08-24 14:47:29 +02:00
PTRCoder
60ee7abc38 Potential fix of cmd buffer header 2024-08-24 14:47:29 +02:00
PTRCoder
e47d9af750 Additional logging 2024-08-24 14:47:29 +02:00
PTRCoder
d5d0301702 Added temp logging for debugging 2024-08-24 14:47:29 +02:00
PTRCoder
a41fc80eab Fixed use of mapped buffer 2024-08-24 14:47:28 +02:00
PTRCoder
f88ebb65a3 Reverted 4th value to unknown 2024-08-24 14:47:28 +02:00
PTRCoder
60c453b5bb Fixed argument 2024-08-24 14:47:28 +02:00
PTRCoder
b7777a7b47 Added include 2024-08-24 14:47:28 +02:00
PTRCoder
4b3ac391d8 Fixed wrong arguments 2024-08-24 14:47:28 +02:00
PTRCoder
13f32bd384 Fixed call return value 2024-08-24 14:47:28 +02:00
PTRCoder
5dea8a125b Moved kernel retrieval to argument 2024-08-24 14:47:27 +02:00
PTRCoder
bb4de89652 Fixed method call 2024-08-24 14:47:27 +02:00
PTRCoder
8b9e04c541 Fixed type name 2024-08-24 14:47:27 +02:00
PTRCoder
29fc438086 Fixed includes 2024-08-24 14:47:27 +02:00
PTRCoder
a6fe44f81f Fixed method name 2024-08-24 14:47:27 +02:00
PTRCoder
67380edbc9 Fixed method call 2024-08-24 14:47:26 +02:00
PTRCoder
babec1bb5c Fixed kernel reference 2024-08-24 14:47:26 +02:00
PTRCoder
6238f52819 Fixed missing namespace 2024-08-24 14:47:26 +02:00
PTRCoder
916849691b Fixed wrong mac 2024-08-24 14:47:26 +02:00
PTRCoder
7a997ea8ae Potentially fixed calling NWM_INF 2024-08-24 14:47:26 +02:00
PTRCoder
d61dfdaf2e Fixed cast to u32 and dummy value 2024-08-24 14:47:25 +02:00
PTRCoder
54e4da1753 Initial full ScanAPs implementation 2024-08-24 14:47:25 +02:00
PTRCoder
01baadf7a4 Included member type 2024-08-24 14:47:24 +02:00
PTRCoder
36f416469f Coding style fixes 2024-08-24 14:47:24 +02:00
PTRCoder
4e73a1d057 Starting tests 2024-08-24 14:47:24 +02:00
Reg Tiangha
7e938fcdd9
Replace all remaining Citra references with Lime3DS
Whereas previous efforts were focused on the user-facing side, this commit replaces Citra references which are present in the codebase itself. This should be the last time a change like this is ever necessary.
2024-08-21 21:02:46 +01:00
OpenSauce04
5f41a173fa Updated codebase formatting to be compliant with Clang 18 2024-04-15 19:03:40 +01:00
PabloMK7
19d5695aa3
Implement some missing/wrong AC functionality. (#7171)
* Implement some missing/wrong AC functionality.

* Schedule NDM connect event into the future

* Disable NDM connect for now as it's causing issues

* Apply latest changes and suggestions.

* Workaround to fake wifi connection.

* Add missing command to ac:i

* Fix compilation

* Fix error codes for CamcelConnectAsync

* Fix missing global state.
2024-01-12 09:15:47 -08:00
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
Daniel López Guimaraes
1f07ab8643
http/ac: Fix failing assert and stub GetConnectingProxyEnable (#6864) 2023-08-08 14:00:42 -07:00
Tobias
970f2284d8
http/soc: Various implementations and fixes (#6828) 2023-08-02 00:37:56 +02:00
Steveice10
e043caac27
hle: Eliminate need to specify command headers for IPC. (#6678) 2023-07-14 17:32:59 -07:00
PabloMK7
5c45c97ff9
Implement/Fix more SOC related functions (#6267)
* Implement SOC_U::GetHostByName and partial SOC_U::GetNetworkOpt

* Implement AC::GetWifiStatus, and get proper network interface.

* Minor fixes

* More minor fixes

* Even more fixes

* Fix Get/Set SockOpt

* Implement SendToOther

* Apply suggestions and fix timer advance

* Fix variable name

* Add more sockopt values and fix send/recv flags.

* Fix dontwait logic

* Add missing header for linux

* Remove TCP_STDURG

* Fix poll and add more 3ds <-> platform conversions

* Finish implementing all platform <-> 3ds conversion.

* Disable UDP connreset and fix poll again.

* Fix compile issues

* Apply suggestions

* Fix compiler issues

* Fix compiler errors (again)

* Fix GetAddrInfo

* Use IPC::MakeHeader instead of raw hardcoded value.
2023-05-21 19:01:08 -07:00
Steveice10
3c15398f9e
apt: Implement additional applet state management. (#6303)
* apt: Implement additional library applet state management.

* kernel: Clear process handle table on exit.

* apt: Implement system applet commands.

* apt: Pop MediaType from command buffers with correct size.

* apt: Improve accuracy of parameters and HLE applet lifecycle.

* apt: General cleanup.

* file_sys: Make system save data open error code more correct.

Not sure if this is the exact right error code, but it's at least
more correct than before as Game Notes will now create its system
save data instead of throwing a fatal error.

* apt: Fix launching New 3DS Internet Browser.

* frd: Correct fix to GetMyScreenName response.
2023-02-28 14:09:54 +02: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
Hamish Milne
7b846ffa98 clang-format fixes 2020-02-13 17:39:15 +08:00
Hamish Milne
3fd5c431f1 Service serialization framework; done AC 2020-02-13 17:38:20 +08:00
Hamish Milne
ac0337d8df Started IPC services serialization 2020-02-13 17:38:19 +08: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
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
zhaowenlan1779
642f0bd62b Port "kernel/event: Make data members private" from yuzu (#4077)
* kernel/event: Make data members private

Instead we can simply provide accessors to the required data instead of
giving external read/write access to the variables directly.

* fix compile error
2018-08-24 19:43:28 +02:00
wwylele
0eab948728 reformat all files with clang-format 2018-06-29 16:56:12 +03:00
wwylele
7c5a76e58b log: replace all NGLOG with LOG 2018-06-29 14:18:07 +03:00
zhupengfei
7b4738ad33
service/ac: fix clang format 2018-06-20 09:42:39 +08:00