@@ -750,7 +750,7 @@ error_code sceNpBasicSendMessageGui(vm::cptr<SceNpBasicMessageDetails> msg, sys_
750750
751751 if (g_psn_connection_status != SCE_NP_MANAGER_STATUS_ONLINE)
752752 {
753- return SCE_NP_BASIC_ERROR_NOT_CONNECTED;
753+ return not_an_error ( SCE_NP_BASIC_ERROR_NOT_CONNECTED) ;
754754 }
755755
756756 return CELL_OK;
@@ -777,7 +777,7 @@ error_code sceNpBasicSendMessageAttachment(vm::cptr<SceNpId> to, vm::cptr<char>
777777
778778 if (g_psn_connection_status != SCE_NP_MANAGER_STATUS_ONLINE)
779779 {
780- return SCE_NP_BASIC_ERROR_NOT_CONNECTED;
780+ return not_an_error ( SCE_NP_BASIC_ERROR_NOT_CONNECTED) ;
781781 }
782782
783783 return CELL_OK;
@@ -884,7 +884,7 @@ error_code sceNpBasicAddFriend(vm::cptr<SceNpId> contact, vm::cptr<char> body, s
884884
885885 if (g_psn_connection_status != SCE_NP_MANAGER_STATUS_ONLINE)
886886 {
887- return SCE_NP_BASIC_ERROR_NOT_CONNECTED;
887+ return not_an_error ( SCE_NP_BASIC_ERROR_NOT_CONNECTED) ;
888888 }
889889
890890 return CELL_OK;
@@ -1102,7 +1102,7 @@ error_code sceNpBasicGetPlayersHistoryEntryCount(u32 options, vm::ptr<u32> count
11021102
11031103error_code sceNpBasicGetPlayersHistoryEntry (u32 options, u32 index, vm::ptr<SceNpId> npid)
11041104{
1105- sceNp.todo (" sceNpBasicGetPlayersHistoryEntry(options=%d, index=%d, npid=*0x%x)" , options, index, npid);
1105+ sceNp.warning (" sceNpBasicGetPlayersHistoryEntry(options=%d, index=%d, npid=*0x%x)" , options, index, npid);
11061106
11071107 if (!g_fxo->get <sce_np_manager>()->is_initialized )
11081108 {
@@ -1126,7 +1126,7 @@ error_code sceNpBasicGetPlayersHistoryEntry(u32 options, u32 index, vm::ptr<SceN
11261126
11271127error_code sceNpBasicAddBlockListEntry (vm::cptr<SceNpId> npid)
11281128{
1129- sceNp.todo (" sceNpBasicAddBlockListEntry(npid=*0x%x)" , npid);
1129+ sceNp.warning (" sceNpBasicAddBlockListEntry(npid=*0x%x)" , npid);
11301130
11311131 if (!g_fxo->get <sce_np_manager>()->is_initialized )
11321132 {
@@ -1140,15 +1140,15 @@ error_code sceNpBasicAddBlockListEntry(vm::cptr<SceNpId> npid)
11401140
11411141 if (g_psn_connection_status != SCE_NP_MANAGER_STATUS_ONLINE)
11421142 {
1143- return SCE_NP_BASIC_ERROR_NOT_CONNECTED;
1143+ return not_an_error ( SCE_NP_BASIC_ERROR_NOT_CONNECTED) ;
11441144 }
11451145
11461146 return CELL_OK;
11471147}
11481148
11491149error_code sceNpBasicGetBlockListEntryCount (vm::ptr<u32 > count)
11501150{
1151- sceNp.todo (" sceNpBasicGetBlockListEntryCount(count=*0x%x)" , count);
1151+ sceNp.warning (" sceNpBasicGetBlockListEntryCount(count=*0x%x)" , count);
11521152
11531153 if (!g_fxo->get <sce_np_manager>()->is_initialized )
11541154 {
@@ -1438,7 +1438,7 @@ error_code sceNpBasicGetMessageEntry(u32 type, u32 index, vm::ptr<SceNpUserInfo>
14381438
14391439error_code sceNpBasicGetEvent (vm::ptr<s32> event, vm::ptr<SceNpUserInfo> from, vm::ptr<s32> data, vm::ptr<u32 > size)
14401440{
1441- sceNp.todo (" sceNpBasicGetEvent(event=*0x%x, from=*0x%x, data=*0x%x, size=*0x%x)" , event, from, data, size);
1441+ sceNp.warning (" sceNpBasicGetEvent(event=*0x%x, from=*0x%x, data=*0x%x, size=*0x%x)" , event, from, data, size);
14421442
14431443 if (!g_fxo->get <sce_np_manager>()->is_initialized )
14441444 {
@@ -1453,7 +1453,7 @@ error_code sceNpBasicGetEvent(vm::ptr<s32> event, vm::ptr<SceNpUserInfo> from, v
14531453 // TODO: Check for other error and pass other events
14541454 // *event = SCE_NP_BASIC_EVENT_OFFLINE; // This event only indicates a contact is offline, not the current status of the connection
14551455
1456- return SCE_NP_BASIC_ERROR_NO_EVENT;
1456+ return not_an_error ( SCE_NP_BASIC_ERROR_NO_EVENT) ;
14571457}
14581458
14591459error_code sceNpCommerceCreateCtx (u32 version, vm::ptr<SceNpId> npId, vm::ptr<SceNpCommerceHandler> handler, vm::ptr<void > arg, vm::ptr<u32 > ctx_id)
@@ -1729,7 +1729,7 @@ error_code sceNpCustomMenuRegisterExceptionList(vm::cptr<SceNpCustomMenuActionEx
17291729
17301730error_code sceNpFriendlist (vm::ptr<SceNpFriendlistResultHandler> resultHandler, vm::ptr<void > userArg, sys_memory_container_t containerId)
17311731{
1732- sceNp.todo (" sceNpFriendlist(resultHandler=*0x%x, userArg=*0x%x, containerId=%d)" , resultHandler, userArg, containerId);
1732+ sceNp.warning (" sceNpFriendlist(resultHandler=*0x%x, userArg=*0x%x, containerId=%d)" , resultHandler, userArg, containerId);
17331733
17341734 if (!g_fxo->get <sce_np_manager>()->is_initialized )
17351735 {
@@ -1746,7 +1746,7 @@ error_code sceNpFriendlist(vm::ptr<SceNpFriendlistResultHandler> resultHandler,
17461746
17471747error_code sceNpFriendlistCustom (SceNpFriendlistCustomOptions options, vm::ptr<SceNpFriendlistResultHandler> resultHandler, vm::ptr<void > userArg, sys_memory_container_t containerId)
17481748{
1749- sceNp.todo (" sceNpFriendlistCustom(options=0x%x, resultHandler=*0x%x, userArg=*0x%x, containerId=%d)" , options, resultHandler, userArg, containerId);
1749+ sceNp.warning (" sceNpFriendlistCustom(options=0x%x, resultHandler=*0x%x, userArg=*0x%x, containerId=%d)" , options, resultHandler, userArg, containerId);
17501750
17511751 if (!g_fxo->get <sce_np_manager>()->is_initialized )
17521752 {
@@ -2272,7 +2272,7 @@ error_code sceNpManagerUnregisterCallback()
22722272
22732273error_code sceNpManagerGetStatus (vm::ptr<s32> status)
22742274{
2275- sceNp.todo (" sceNpManagerGetStatus(status=*0x%x)" , status);
2275+ sceNp.warning (" sceNpManagerGetStatus(status=*0x%x)" , status);
22762276
22772277 if (!g_fxo->get <sce_np_manager>()->is_initialized )
22782278 {
@@ -2376,7 +2376,7 @@ error_code sceNpManagerGetNpId(ppu_thread& ppu, vm::ptr<SceNpId> npId)
23762376
23772377error_code sceNpManagerGetOnlineName (vm::ptr<SceNpOnlineName> onlineName)
23782378{
2379- sceNp.todo (" sceNpManagerGetOnlineName(onlineName=*0x%x)" , onlineName);
2379+ sceNp.warning (" sceNpManagerGetOnlineName(onlineName=*0x%x)" , onlineName);
23802380
23812381 if (!g_fxo->get <sce_np_manager>()->is_initialized )
23822382 {
@@ -2403,7 +2403,7 @@ error_code sceNpManagerGetOnlineName(vm::ptr<SceNpOnlineName> onlineName)
24032403
24042404error_code sceNpManagerGetAvatarUrl (vm::ptr<SceNpAvatarUrl> avatarUrl)
24052405{
2406- sceNp.todo (" sceNpManagerGetAvatarUrl(avatarUrl=*0x%x)" , avatarUrl);
2406+ sceNp.warning (" sceNpManagerGetAvatarUrl(avatarUrl=*0x%x)" , avatarUrl);
24072407
24082408 if (!g_fxo->get <sce_np_manager>()->is_initialized )
24092409 {
@@ -2430,7 +2430,7 @@ error_code sceNpManagerGetAvatarUrl(vm::ptr<SceNpAvatarUrl> avatarUrl)
24302430
24312431error_code sceNpManagerGetMyLanguages (vm::ptr<SceNpMyLanguages> myLanguages)
24322432{
2433- sceNp.todo (" sceNpManagerGetMyLanguages(myLanguages=*0x%x)" , myLanguages);
2433+ sceNp.warning (" sceNpManagerGetMyLanguages(myLanguages=*0x%x)" , myLanguages);
24342434
24352435 if (!g_fxo->get <sce_np_manager>()->is_initialized )
24362436 {
@@ -2457,7 +2457,7 @@ error_code sceNpManagerGetMyLanguages(vm::ptr<SceNpMyLanguages> myLanguages)
24572457
24582458error_code sceNpManagerGetAccountRegion (vm::ptr<SceNpCountryCode> countryCode, vm::ptr<s32> language)
24592459{
2460- sceNp.todo (" sceNpManagerGetAccountRegion(countryCode=*0x%x, language=*0x%x)" , countryCode, language);
2460+ sceNp.warning (" sceNpManagerGetAccountRegion(countryCode=*0x%x, language=*0x%x)" , countryCode, language);
24612461
24622462 if (!g_fxo->get <sce_np_manager>()->is_initialized )
24632463 {
@@ -2484,7 +2484,7 @@ error_code sceNpManagerGetAccountRegion(vm::ptr<SceNpCountryCode> countryCode, v
24842484
24852485error_code sceNpManagerGetAccountAge (vm::ptr<s32> age)
24862486{
2487- sceNp.todo (" sceNpManagerGetAccountAge(age=*0x%x)" , age);
2487+ sceNp.warning (" sceNpManagerGetAccountAge(age=*0x%x)" , age);
24882488
24892489 if (!g_fxo->get <sce_np_manager>()->is_initialized )
24902490 {
@@ -2511,7 +2511,7 @@ error_code sceNpManagerGetAccountAge(vm::ptr<s32> age)
25112511
25122512error_code sceNpManagerGetContentRatingFlag (vm::ptr<s32> isRestricted, vm::ptr<s32> age)
25132513{
2514- sceNp.todo (" sceNpManagerGetContentRatingFlag(isRestricted=*0x%x, age=*0x%x)" , isRestricted, age);
2514+ sceNp.warning (" sceNpManagerGetContentRatingFlag(isRestricted=*0x%x, age=*0x%x)" , isRestricted, age);
25152515
25162516 if (!g_fxo->get <sce_np_manager>()->is_initialized )
25172517 {
@@ -2542,7 +2542,7 @@ error_code sceNpManagerGetContentRatingFlag(vm::ptr<s32> isRestricted, vm::ptr<s
25422542
25432543error_code sceNpManagerGetChatRestrictionFlag (vm::ptr<s32> isRestricted)
25442544{
2545- sceNp.todo (" sceNpManagerGetChatRestrictionFlag(isRestricted=*0x%x)" , isRestricted);
2545+ sceNp.warning (" sceNpManagerGetChatRestrictionFlag(isRestricted=*0x%x)" , isRestricted);
25462546
25472547 if (!g_fxo->get <sce_np_manager>()->is_initialized )
25482548 {
@@ -4285,7 +4285,7 @@ error_code sceNpUtilCmpNpId(vm::ptr<SceNpId> id1, vm::ptr<SceNpId> id2)
42854285
42864286error_code sceNpUtilCmpNpIdInOrder (vm::cptr<SceNpId> id1, vm::cptr<SceNpId> id2, vm::ptr<s32> order)
42874287{
4288- sceNp.todo (" sceNpUtilCmpNpIdInOrder(id1=*0x%x, id2=*0x%x, order=*0x%x)" , id1, id2, order);
4288+ sceNp.warning (" sceNpUtilCmpNpIdInOrder(id1=*0x%x, id2=*0x%x, order=*0x%x)" , id1, id2, order);
42894289
42904290 if (!id1 || !id2)
42914291 {
@@ -4332,7 +4332,7 @@ error_code sceNpUtilCmpNpIdInOrder(vm::cptr<SceNpId> id1, vm::cptr<SceNpId> id2,
43324332
43334333error_code sceNpUtilCmpOnlineId (vm::cptr<SceNpId> id1, vm::cptr<SceNpId> id2)
43344334{
4335- sceNp.todo (" sceNpUtilCmpOnlineId(id1=*0x%x, id2=*0x%x)" , id1, id2);
4335+ sceNp.warning (" sceNpUtilCmpOnlineId(id1=*0x%x, id2=*0x%x)" , id1, id2);
43364336
43374337 if (!id1 || !id2)
43384338 {
@@ -4354,7 +4354,7 @@ error_code sceNpUtilCmpOnlineId(vm::cptr<SceNpId> id1, vm::cptr<SceNpId> id2)
43544354
43554355error_code sceNpUtilGetPlatformType (vm::cptr<SceNpId> npId)
43564356{
4357- sceNp.todo (" sceNpUtilGetPlatformType(npId=*0x%x)" , npId);
4357+ sceNp.warning (" sceNpUtilGetPlatformType(npId=*0x%x)" , npId);
43584358
43594359 if (!npId)
43604360 {
@@ -4380,7 +4380,7 @@ error_code sceNpUtilGetPlatformType(vm::cptr<SceNpId> npId)
43804380
43814381error_code sceNpUtilSetPlatformType (vm::ptr<SceNpId> npId, SceNpPlatformType platformType)
43824382{
4383- sceNp.todo (" sceNpUtilSetPlatformType(npId=*0x%x, platformType=%d)" , npId, platformType);
4383+ sceNp.warning (" sceNpUtilSetPlatformType(npId=*0x%x, platformType=%d)" , npId, platformType);
43844384
43854385 if (!npId)
43864386 {
0 commit comments