リビジョン | 160 (tree) |
---|---|
日時 | 2009-01-22 20:10:21 |
作者 | bird_may_nike |
(メッセージはありません)
@@ -667,7 +667,7 @@ | ||
667 | 667 | } ap[2]; |
668 | 668 | int count = 0; |
669 | 669 | int i; |
670 | - char buf[32]; | |
670 | + union SceNetApctlInfo buf; | |
671 | 671 | |
672 | 672 | memset(&s2ch.mh,0,sizeof(MESSAGE_HELPER)); |
673 | 673 | s2ch.mh.options = PSP_UTILITY_MSGDIALOG_OPTION_TEXT; |
@@ -681,7 +681,7 @@ | ||
681 | 681 | psp2chErrorDialog(TEXT_2); |
682 | 682 | return -1; |
683 | 683 | } |
684 | - if (sceNetApctlGetInfo(8, buf) == 0) | |
684 | + if (sceNetApctlGetInfo(PSP_NET_APCTL_INFO_IP, &buf) == 0) | |
685 | 685 | { |
686 | 686 | // IP取得済み |
687 | 687 | return 0; |