mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Small fix and change log format
This commit is contained in:
parent
5894e8f18f
commit
1df833cc16
1 changed files with 4 additions and 6 deletions
|
@ -468,18 +468,16 @@ static int sceNetUpnpGetNatInfo()
|
|||
|
||||
static int sceNetGetDropRate(u32 dropRateAddr, u32 dropDurationAddr)
|
||||
{
|
||||
INFO_LOG(SCENET, "sceNetGetDropRate %08x,%08x", dropRateAddr, dropDurationAddr);
|
||||
Memory::Write_U32(netDropRate, dropRateAddr);
|
||||
Memory::Write_U32(netDropDuration, dropDurationAddr);
|
||||
return 0;
|
||||
return hleLogSuccessInfoI(SCENET, 0);
|
||||
}
|
||||
|
||||
static int sceNetSetDropRate(u32 dropRate, u32 dropDuration)
|
||||
{
|
||||
INFO_LOG(SCENET, "sceNetSetDropRate dropRate %d, dropDuration %d", dropRate, dropDuration);
|
||||
netDropRate = dropRate;
|
||||
netDropDuration = dropDuration;
|
||||
return 0;
|
||||
return hleLogSuccessInfoI(SCENET, 0);
|
||||
}
|
||||
|
||||
const HLEFunction sceNet[] = {
|
||||
|
@ -574,8 +572,8 @@ const HLEFunction sceNetUpnp[] = {
|
|||
};
|
||||
|
||||
const HLEFunction sceNetIfhandle[] = {
|
||||
{ 0xC80181A2, &WrapI_UU<sceNetGetDropRate>, "sceNetGetDropRate", 'i', "ii" },
|
||||
{ 0xFD8585E1, &WrapI_UU<sceNetSetDropRate>, "sceNetSetDropRate", 'i', "ii" },
|
||||
{0xC80181A2, &WrapI_UU<sceNetGetDropRate>, "sceNetGetDropRate", 'i', "pp" },
|
||||
{0xFD8585E1, &WrapI_UU<sceNetSetDropRate>, "sceNetSetDropRate", 'i', "ii" },
|
||||
};
|
||||
|
||||
void Register_sceNet() {
|
||||
|
|
Loading…
Add table
Reference in a new issue