ryujinx-mirror/Ryujinx.HLE/HOS/Services/Nifm/StaticService
Jumpman 73feac5819
Caching local network info and using an event handler to invalidate as needed (improves menu slow down issue in FE3H) (#2761)
* Update IGeneralService.cs

Fix IPV4 local ip related frame drop in fire emblem by rewriting [CommandHipc(12)]

* Fix IPV4 Local IP Slowdown & Style Fixes

fix a missing space

* Remove unnecessary line

* Fix for hardcoding which index to use

* Replace argument with empty string.

By sending an empty string to Dns.GetHostAddresses("") you get back localhost info only.

* Add caching, undo change in GetCurrentIpAddress

Implement caching and revert the GetCurrentIP() function, speed improvements still present.

* Remove unnecessary using

* Syntax fixes and removing extra lines

Requested changes by AcK77

* Properly unsubscribe from event handler

Adds an unsubscribe in the dispose section of IGeneralService
2022-03-15 03:49:35 +01:00
..
GeneralService Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Types nifm: Fixes IsDynamicDnsEnabled not supported (#2443) 2021-07-06 20:41:11 +02:00
IGeneralService.cs Caching local network info and using an event handler to invalidate as needed (improves menu slow down issue in FE3H) (#2761) 2022-03-15 03:49:35 +01:00
IRequest.cs Fix GetAddrInfoWithOptions and some sockets issues (#2936) 2021-12-26 15:17:13 +01:00