summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nifm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* network: Forward declarationsMorph2023-07-172-3/+5
|
* Silence nifm spamKelebek12023-04-221-3/+3
|
* service: move hle_ipc from kernelLiam2023-03-012-34/+34
|
* service: refactor server architectureLiam2023-02-212-10/+12
| | | | Converts services to have their own processes
* service: nifm: Initialize request stategerman772023-01-021-0/+1
|
* service: nifm: Match documentation namesgerman772023-01-021-31/+56
|
* service: nifm: Update stubs for Submit/GetRequestState/GetResultMorph2022-11-291-7/+34
|
* core, yuzu: Address first part of review commentsFearlessTobi2022-08-151-0/+1
|
* core, network: Add ability to proxy socket packetsFearlessTobi2022-08-152-163/+205
|
* yuzu: Add ui files for multiplayer roomsFearlessTobi2022-07-251-2/+2
|
* service: nifm: Stub GetInternetConnectionStatusgerman772022-06-291-1/+41
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-232-6/+4
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* core: Reduce unused includesameerj2022-03-191-1/+0
|
* core: Remove unused includesameerj2021-11-041-1/+0
|
* service: Replace service event creation with ServiceContext::CreateEventMorph2021-10-021-8/+24
| | | | The service context helps to manage all created events and allows us to close them upon destruction.
* service: nifm: Populate fields in GetCurrentNetworkProfileMorph2021-08-271-29/+37
| | | | Populates the current_address, subnet_mask, and gateway fields from the selected network interface.
* service: nifm: Cleanup GetCurrentIpConfigInfoMorph2021-08-271-26/+21
|
* network: retrieve subnet mask and gateway infoSönke Holz2021-08-161-8/+16
|
* nifm: use operator*() instead of .value() to get value of std::optionalSönke Holz2021-08-131-2/+2
|
* nifm: treat a missing host IP address as a non-critical errorSönke Holz2021-08-131-2/+2
|
* configuration: add option to select network interfacespholz2021-08-121-15/+21
| | | | This commit renames the "Services" tab to "Network" and adds a combobox that allows the user to select the network interface that yuzu should use. This new setting is now used to get the local IP address in Network::GetHostIPv4Address. This prevents yuzu from selecting the wrong network interface and thus using the wrong IP address. The return type of Network::GetHostIPv4Adress has also been changed.
* network: GetCurrentIpConfigInfo: return host IP addressSönke Holz2021-08-071-1/+4
| | | | Service::NIFM::IGeneralService::GetCurrentIpConfigInfo currently hardcodes 192.168.1.100 as the IP address, which prevents LAN play from working correctly.
* general: Make most settings a BasicSettinglat9nq2021-06-281-3/+3
| | | | | | | | | | | Creates a new BasicSettings class in common/settings, and forces setting a default and label for each setting that uses it in common/settings. Moves defaults and labels from both frontends into common settings. Creates a helper function in each frontend to facillitate reading the settings now with the new default and label properties. Settings::Setting is also now a subclass of Settings::BasicSetting. Also adds documentation for both Setting and BasicSetting.
* general: Replace RESULT_SUCCESS with ResultSuccessMorph2021-06-021-20/+20
| | | | Transition to PascalCase for result names.
* nifm, ssl: Fix incorrect response sizesMorph2021-05-161-1/+1
|
* fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created.bunnei2021-05-061-2/+0
|
* hle: kernel: Ensure all kernel objects with KAutoObject are properly created.bunnei2021-05-061-0/+3
|
* hle: kernel: Migrate KEvent to KAutoObject.bunnei2021-05-061-7/+6
|
* common: Move settings to common from core.bunnei2021-04-151-1/+1
| | | | - Removes a dependency on core and input_common from common.
* hle: kernel: Reimplement KReadableEvent and KWritableEvent.bunnei2021-02-051-5/+8
|
* hle: kernel: Rename WritableEvent to KWritableEvent.bunnei2021-02-051-3/+3
|
* hle: kernel: Rename ReadableEvent to KReadableEvent.bunnei2021-02-051-1/+1
|
* Merge pull request #5859 from Morph1984/nifmbunnei2021-02-011-2/+157
|\ | | | | nifm: Stub GetCurrentNetworkProfile and GetCurrentIpConfigInfo
| * nifm: Stub GetCurrentIpConfigInfoMorph2021-01-311-1/+29
| | | | | | | | - Used by Lets Sing 12
| * nifm: Stub GetCurrentNetworkProfileMorph2021-01-311-1/+41
| | | | | | | | | | - Used by Minecraft Bedrock Edition - Used by Bloons TD 5
| * nifm: Add several structsMorph2021-01-311-0/+87
| |
* | nifm: Fix GetAppletInfo stubMorph2021-01-311-1/+5
|/
* service: Eliminate usages of the global system instanceLioncash2020-11-272-18/+15
| | | | | Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
* Added remaining paramsDavid Marcec2020-10-201-1/+4
|
* nifm: GetAppletInfo stubDavid Marcec2020-10-201-1/+8
| | | | Fixes crash for Catherine Full Body
* services/nifm: Implement GetCurrentIpAddressReinUsesLisp2020-07-281-1/+12
| | | | | | This is trivially implemented using the Network abstraction - Used by ftpd
* clang-formatVolcaEM2020-05-211-1/+2
|
* nifm: correct assert in CreateTemporaryNetworkProfileVolcaEM2020-05-211-1/+1
| | | | | | | | | This has been wrong since https://github.com/yuzu-emu/yuzu/commit/0432af5ad1ec34f02071f6fdc5fc78149b059f18 I haven't found a game that called this function (and I haven't tried this on a real Switch), and because of this I haven't been able to check if the number in assert OR the string in the assert is wrong, but one of the two is wrong: NetworkProfileData is 0x18E, while SfNetworkProfileData is 0x17C, according to Switchbrew Switchbrew doesn't officially say that NetworkProfileData's size is 0x18E but it's possible to calculate its size since Switchbrew provides the size and the offset of all the components of NetworkProfileData (which isn't currently implemented in yuzu, alongside SfNetworkProfileData) NetworkProfileData documentation: https://switchbrew.org/wiki/Network_Interface_services#NetworkProfileData SfNetworkProfileData documentation: https://switchbrew.org/wiki/Network_Interface_services#SfNetworkProfileData Since I trust ogniK's work on reversing NIFM, I'd assume this was just a typo in the string
* Merge pull request #2945 from FernandoS27/fix-bcatbunnei2020-01-051-3/+17
|\ | | | | nifm: Only return that there's an internet connection when there's a BCATServer
| * nifm: Only return that there's an internet connection when there's a BCATServerFernando Sahmkow2019-11-071-3/+17
| | | | | | | | | | This helps games that need internet for other purposes boot as the rest of our internet infrastructure is incomplete.
* | service: Update function tablesLioncash2019-11-121-0/+8
|/ | | | | | Keeps the function tables up to date. Updated based off information from Switchbrew.
* kernel: events: Remove ResetType::Automatic.bunnei2019-11-031-4/+2
| | | | | | | | - This does not actually seem to exist in the real kernel - games reset these automatically. # Conflicts: # src/core/hle/service/am/applets/applets.cpp # src/core/hle/service/filesystem/fsp_srv.cpp
* nifm: Signal to applications that internet access is availableZach Hilman2019-09-301-3/+10
|
* Deglobalize System: NifmDavid Marcec2019-09-222-13/+23
|
* core/kernel/object: Rename ResetType enum membersLioncash2019-05-181-2/+2
| | | | | | | | | | | | | Renames the members to more accurately indicate what they signify. "OneShot" and "Sticky" are kind of ambiguous identifiers for the reset types, and can be kind of misleading. Automatic and Manual communicate the kind of reset type in a clearer manner. Either the event is automatically reset, or it isn't and must be manually cleared. The "OneShot" and "Sticky" terminology is just a hold-over from Citra where the kernel had a third type of event reset type known as "Pulse". Given the Switch kernel only has two forms of event reset types, we don't need to keep the old terminology around anymore.
* service: Update service function tablesLioncash2019-04-111-0/+4
| | | | Updates function tables based off information from SwitchBrew.
* kernel/event: Reference ReadableEvent from WritableEventZach Hilman2018-11-291-10/+6
|
* core: Port all current usages of Event to Readable/WritableEventZach Hilman2018-11-291-5/+13
|
* Changed logging to be "Log before execution", Added more error logging, all services should now log on some levelDavid Marcec2018-11-261-8/+21
|
* nifm: Update service function tablesLioncash2018-10-191-0/+1
| | | | Updated based off information provided by switchbrew.
* Merge pull request #1368 from ogniK5377/nifm-fixbunnei2018-09-211-1/+7
|\ | | | | Added IRequest::Submit
| * Fixed submitDavid Marcec2018-09-201-2/+1
| |
| * Added IRequest::SubmitDavid Marcec2018-09-201-1/+8
| | | | | | | | This fixes updated versions of SMO. Currently unable to test as I don't have an updated version
* | Revert GetRequestStateDavid Marcec2018-09-211-1/+1
|/ | | | Even though setting this value to 3 is more correct. We break more games than we fix due to missing implementations. We should keep this as 0 for the time being
* Reworked incorrect nifm stubs (#1355)David2018-09-191-3/+10
| | | | | | | | | | | | * Reworked incorrect nifm stubs Need confirmation on `CreateTemporaryNetworkProfile`, unsure which game uses it but according to reversing. It should return a uuid which we currently don't do. Any 0 client id is considered an invalid client id. GetRequestState 0 is considered invalid. * Fixups for nifm
* kernel: Eliminate kernel global stateLioncash2018-08-291-2/+4
| | | | | | | | | | | | | | | | | | | | | | As means to pave the way for getting rid of global state within core, This eliminates kernel global state by removing all globals. Instead this introduces a KernelCore class which acts as a kernel instance. This instance lives in the System class, which keeps its lifetime contained to the lifetime of the System class. This also forces the kernel types to actually interact with the main kernel instance itself instead of having transient kernel state placed all over several translation units, keeping everything together. It also has a nice consequence of making dependencies much more explicit. This also makes our initialization a tad bit more correct. Previously we were creating a kernel process before the actual kernel was initialized, which doesn't really make much sense. The KernelCore class itself follows the PImpl idiom, which allows keeping all the implementation details sealed away from everything else, which forces the use of the exposed API and allows us to avoid any unnecessary inclusions within the main kernel header.
* service/nifm: Deduplicate interface codeLioncash2018-07-258-135/+30
| | | | | Rather than having the same code for each nifm service variant, we can centralize it on one class and get rid of a bit of extra code.
* hle/service: Make constructors explicit where applicableLioncash2018-07-191-1/+1
| | | | | Prevents implicit construction and makes these lingering non-explicit constructors consistent with the rest of the other classes in services.
* Added IsWirelessCommunicationEnabled, IsEthernetCommunicationEnabled, IsAnyInternetRequestAcceptedDavid Marcec2018-07-121-3/+21
| | | | Since we have no socket implementation we should be returning 0 to indicate we're currently offline.
* Rename logging macro back to LOG_*James Rowe2018-07-031-12/+12
|
* nifm: Stub out IRequest::SetConnectionConfirmationOption.bunnei2018-06-061-1/+10
|
* nifm: Move logging macros over to new fmt-compatible onesLioncash2018-04-241-11/+11
|
* service: Use nested namespace specifiers where applicableLioncash2018-04-208-32/+16
| | | | Tidies up namespace declarations
* nifm: GetResult does not return a data field.bunnei2018-04-031-2/+1
|
* IGeneralService: fix function listmailwl2018-03-161-2/+3
|
* Service/NIFM: stub cancel functionmailwl2018-03-161-1/+6
|
* Service/NIFM: convert to modulemailwl2018-03-168-122/+75
|
* Stub more functionsmailwl2018-02-221-3/+29
|
* logger: Add NIFM service logging category.bunnei2018-02-054-11/+11
|
* Service:nifm: add nifm:a, nifm:s and nifm:u servicesmailwl2018-02-038-0/+368