1
0
Fork 0
forked from suyu/suyu
suyu/src/core/hle
VolcaEM 235805edf3
nifm: correct assert in CreateTemporaryNetworkProfile
This has been wrong since 0432af5ad1
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-05-21 10:23:53 +02:00
..
kernel Merge pull request #3879 from lioncash/global2 2020-05-07 19:13:34 -04:00
service nifm: correct assert in CreateTemporaryNetworkProfile 2020-05-21 10:23:53 +02:00
ipc.h common_func: Use std::array for INSERT_PADDING_* macros. 2019-11-03 22:22:41 -05:00
ipc_helpers.h kernel: Implement a more accurate IPC dispatch. 2019-11-28 12:01:53 -05:00
lock.cpp
lock.h
result.h result: Add default error code for the ResultCode(-1) case 2019-11-12 07:55:38 -05:00