aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nifm
AgeCommit message (Collapse)Author
2022-06-28service: nifm: Stub GetInternetConnectionStatusgerman77
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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.
2022-03-19core: Reduce unused includesameerj
2021-11-03core: Remove unused includesameerj
2021-10-01service: Replace service event creation with ServiceContext::CreateEventMorph
The service context helps to manage all created events and allows us to close them upon destruction.
2021-08-27service: nifm: Populate fields in GetCurrentNetworkProfileMorph
Populates the current_address, subnet_mask, and gateway fields from the selected network interface.
2021-08-27service: nifm: Cleanup GetCurrentIpConfigInfoMorph
2021-08-16network: retrieve subnet mask and gateway infoSönke Holz
2021-08-13nifm: use operator*() instead of .value() to get value of std::optionalSönke Holz
2021-08-13nifm: treat a missing host IP address as a non-critical errorSönke Holz
2021-08-12configuration: add option to select network interfacespholz
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.
2021-08-07network: GetCurrentIpConfigInfo: return host IP addressSönke Holz
Service::NIFM::IGeneralService::GetCurrentIpConfigInfo currently hardcodes 192.168.1.100 as the IP address, which prevents LAN play from working correctly.
2021-06-28general: Make most settings a BasicSettinglat9nq
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.
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph
Transition to PascalCase for result names.
2021-05-16nifm, ssl: Fix incorrect response sizesMorph
2021-05-05fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly ↵bunnei
created.
2021-05-05hle: kernel: Ensure all kernel objects with KAutoObject are properly created.bunnei
2021-05-05hle: kernel: Migrate KEvent to KAutoObject.bunnei
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2021-02-05hle: kernel: Reimplement KReadableEvent and KWritableEvent.bunnei
2021-02-05hle: kernel: Rename WritableEvent to KWritableEvent.bunnei
2021-02-05hle: kernel: Rename ReadableEvent to KReadableEvent.bunnei
2021-01-31Merge pull request #5859 from Morph1984/nifmbunnei
nifm: Stub GetCurrentNetworkProfile and GetCurrentIpConfigInfo
2021-01-31nifm: Stub GetCurrentIpConfigInfoMorph
- Used by Lets Sing 12
2021-01-31nifm: Stub GetCurrentNetworkProfileMorph
- Used by Minecraft Bedrock Edition - Used by Bloons TD 5
2021-01-31nifm: Add several structsMorph
2021-01-31nifm: Fix GetAppletInfo stubMorph
2020-11-26service: Eliminate usages of the global system instanceLioncash
Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
2020-10-20Added remaining paramsDavid Marcec
2020-10-20nifm: GetAppletInfo stubDavid Marcec
Fixes crash for Catherine Full Body
2020-07-28services/nifm: Implement GetCurrentIpAddressReinUsesLisp
This is trivially implemented using the Network abstraction - Used by ftpd
2020-05-21clang-formatVolcaEM
2020-05-21nifm: correct assert in CreateTemporaryNetworkProfileVolcaEM
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
2020-01-05Merge pull request #2945 from FernandoS27/fix-bcatbunnei
nifm: Only return that there's an internet connection when there's a BCATServer
2019-11-12service: Update function tablesLioncash
Keeps the function tables up to date. Updated based off information from Switchbrew.
2019-11-06nifm: Only return that there's an internet connection when there's a BCATServerFernando Sahmkow
This helps games that need internet for other purposes boot as the rest of our internet infrastructure is incomplete.
2019-11-03kernel: events: Remove ResetType::Automatic.bunnei
- 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
2019-09-30nifm: Signal to applications that internet access is availableZach Hilman
2019-09-22Deglobalize System: NifmDavid Marcec
2019-05-18core/kernel/object: Rename ResetType enum membersLioncash
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.
2019-04-11service: Update service function tablesLioncash
Updates function tables based off information from SwitchBrew.
2018-11-29kernel/event: Reference ReadableEvent from WritableEventZach Hilman
2018-11-29core: Port all current usages of Event to Readable/WritableEventZach Hilman
2018-11-26Changed logging to be "Log before execution", Added more error logging, all ↵David Marcec
services should now log on some level
2018-10-19nifm: Update service function tablesLioncash
Updated based off information provided by switchbrew.
2018-09-20Merge pull request #1368 from ogniK5377/nifm-fixbunnei
Added IRequest::Submit
2018-09-21Revert GetRequestStateDavid Marcec
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
2018-09-21Fixed submitDavid Marcec
2018-09-21Added IRequest::SubmitDavid Marcec
This fixes updated versions of SMO. Currently unable to test as I don't have an updated version
2018-09-19Reworked incorrect nifm stubs (#1355)David
* 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