Hmm. I have a small problem...
I can't use wifi with Oslib.
look :
Code: Select all
//La librairie principale OSLib
#include <oslib/oslib.h>
//wifi
#include <pspnet.h>
#include <pspnet_inet.h>
#include <pspnet_apctl.h>
#include <pspnet_resolver.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/select.h>
//
#include <sys/socket.h>
#include <sys/types.h>
#include <netdb.h>
//
//les callbacks
PSP_MODULE_INFO("MyPSPGamePad", 0x1000, 1, 1);
PSP_MAIN_THREAD_ATTR(0);
int main()
{
    //Initialisation de la librairie
    oslInit(0);
    //Initialisation du mode graphique
    oslInitGfx(OSL_PF_8888, 0);
    //Initialisation de la console texte
    oslInitConsole();
    //affiche sur l'écran du texte
    oslPrintf("pspSdkLoadInetModules()");
    pspSdkLoadInetModules();
    oslPrintf("pspSdkInetInit()");
    pspSdkInetInit();
    //attend l'appui sur une touche
    oslWaitKey();
    
    //on quitte l'application
    oslEndGfx();
    oslQuit();
    return 0;
} pspSdkLoadInetModules(), the screen of the psp stay black...
Can Anyone help me?
Has anyone made a Wifi homebrew with Old school librairie?
Thank You!