Seite 150 von 340 ErsteErste ... 50 100 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 200 250 ... LetzteLetzte
Zeige Ergebnis 4.471 bis 4.500 von 10174

C/C++ Programming Help Thread

This is a discussion on C/C++ Programming Help Thread within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Zitat von hallo007 is there a documentation of how to use the dual boot with the modchip? I dunno exactly ...

  
  1. #4471
    QJ Gamer Silver
    Points: 7.385, Level: 57
    Level completed: 18%, Points required for next Level: 165
    Overall activity: 0%

    Registriert seit
    Sep 2006
    Ort
    Finland
    Beiträge
    752
    Points
    7.385
    Level
    57
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von hallo007
    is there a documentation of how to use the dual boot with the modchip?
    I dunno exactly what do you mean, but here's something about accessing PSP NAND when running from U.P flash.: http://forums.maxconsole.net/showpos...14&postcount=8


    wheeee =:D

  2. #4472
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    that was what I needed;) , Thanx:)
    -= Double Post =-
    if you call pspDebugScreenClear in a thread , will it clean the screen in another thread too?

    if YES
    how to you delete the text of one therad without touching the text of another thread
    Geändert von hallo007 (05-16-2007 um 11:26 AM Uhr) Grund: Automerged Doublepost

  3. #4473
    QJ Gamer Gold
    Points: 17.453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    everywhere
    Beiträge
    3.526
    Points
    17.453
    Level
    84
    Downloads
    1
    Uploads
    0

    Standard

    anyone know know where i can learn more on how to use the psp's ir functions
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  4. #4474
    QJ Gamer Green
    Points: 11.300, Level: 70
    Level completed: 13%, Points required for next Level: 350
    Overall activity: 0%

    Registriert seit
    Dec 2006
    Ort
    main();
    Beiträge
    1.071
    Points
    11.300
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    /usr/local/pspdev/psp/sdk/samples/ir/
    and
    /usr/local/pspdev/psp/sdk/include/pspsircs.h

  5. #4475
    QJ Gamer Gold
    Points: 17.453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    everywhere
    Beiträge
    3.526
    Points
    17.453
    Level
    84
    Downloads
    1
    Uploads
    0

    Standard

    i did but they only go so far also not to much of a description of how it is used so i was looking for a better tut on how to use the ir commands
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  6. #4476
    QJ Gamer Green
    Points: 11.300, Level: 70
    Level completed: 13%, Points required for next Level: 350
    Overall activity: 0%

    Registriert seit
    Dec 2006
    Ort
    main();
    Beiträge
    1.071
    Points
    11.300
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    The sdk has great documentation. You should be able to work it out with those two references.

  7. #4477
    QJ Gamer Blue
    Points: 4.031, Level: 40
    Level completed: 41%, Points required for next Level: 119
    Overall activity: 91,0%

    Registriert seit
    Feb 2007
    Ort
    Florida
    Beiträge
    214
    Points
    4.031
    Level
    40
    Downloads
    0
    Uploads
    0

    Standard

    Guys, I got a question that it a little hard for me to word, but I'll try.

    If I try to make a program that gives you a list of the images on your memory stick, how would i give it a code so that it will display the .png? (I mean, no matter what the name of the png, it will load. [ I know how to load images to the screen, this is a little different ] ).

    Kinda like loading a random image, how would I do that? (If I can at all)

  8. #4478
    Developer
    Points: 7.577, Level: 58
    Level completed: 14%, Points required for next Level: 173
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Beiträge
    1.026
    Points
    7.577
    Level
    58
    Downloads
    0
    Uploads
    0

    Standard

    You worded it fine.

    You need to get a list of the file names in a directory, parse these names for files that end in .png and then pick one.

    Check out dirent.h, and Google for opendir, readdir, closedir etc. for how to use the functions.

    I used this exact same method to get a random song from the PSP/MUSIC directory in 48 Hour Pong.

    Check out my homebrew & C tutorials at http://insomniac.0x89.org/
    Coder formerly known as Insomniac197

    tshirtz: what is irshell ??
    Atarian_: it's where people who work for the IRS go when they die

  9. #4479
    QJ Gamer Blue
    Points: 4.031, Level: 40
    Level completed: 41%, Points required for next Level: 119
    Overall activity: 91,0%

    Registriert seit
    Feb 2007
    Ort
    Florida
    Beiträge
    214
    Points
    4.031
    Level
    40
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Insert_Witty_Name
    You worded it fine.

    You need to get a list of the file names in a directory, parse these names for files that end in .png and then pick one.

    Check out dirent.h, and Google for opendir, readdir, closedir etc. for how to use the functions.

    I used this exact same method to get a random song from the PSP/MUSIC directory in 48 Hour Pong.
    Ok. Thank you.

  10. #4480
    QJ Gamer Silver
    Points: 14.087, Level: 77
    Level completed: 10%, Points required for next Level: 363
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Ort
    Germany
    Beiträge
    926
    Points
    14.087
    Level
    77
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von hallo007
    if you call pspDebugScreenClear in a thread , will it clean the screen in another thread too?

    if YES
    how to you delete the text of one therad without touching the text of another thread
    The screen is the screen. If you clear it, it's cleared and stays so until you change it again. The screen doesn't care for threads or multiple processors working with it. If you consult your brain, it will give you the same answer.
    Raphs board rules #31: Excessive use of punctuation is either a sign of a lesser ego or a small mind. Avoid it if you don't want to look like a total moron.
    Raphs board rules #17: When you need to ask whether you are capable of doing something, you are not.
    Raphs board rules #2: Exploits aren't found by changing version numbers, blindly merging data into a file or turning your PSP upside down.
    Raphs board rules #1: If you have no clue how exploits work, don't come up with ideas about them.

  11. #4481
    QJ Gamer Silver
    Points: 10.921, Level: 69
    Level completed: 18%, Points required for next Level: 329
    Overall activity: 0%

    Registriert seit
    May 2006
    Ort
    Behind you.
    Beiträge
    1.814
    Points
    10.921
    Level
    69
    Downloads
    0
    Uploads
    0

    Standard

    I don't know why but i get these errors:
    Code:
    main.c:844: warning: type defaults to 'int' in declaration of 'sceKernelSleepThr
    ead'
    main.c:844: warning: data definition has no type or storage class
    main.c:845: error: syntax error before 'return'
    make: *** [main.o] Error 1
    I have never had this error before. What could be caused by?
    Calypso - Enjoy the excellent 2D space shooter:
    http://dl.qj.net/Calypso-v1-PSP-Home...6542/catid/195

    "Quoting yourself in your signature means you love to masterbate while looking at the mirror." -me (oh, wait...)

  12. #4482
    QJ Gamer Green
    Points: 11.300, Level: 70
    Level completed: 13%, Points required for next Level: 350
    Overall activity: 0%

    Registriert seit
    Dec 2006
    Ort
    main();
    Beiträge
    1.071
    Points
    11.300
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Code, please.

  13. #4483
    QJ Gamer Gold
    Points: 17.453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    everywhere
    Beiträge
    3.526
    Points
    17.453
    Level
    84
    Downloads
    1
    Uploads
    0

    Standard

    um...it helps to see the lines
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  14. #4484
    QJ Gamer Silver
    Points: 10.921, Level: 69
    Level completed: 18%, Points required for next Level: 329
    Overall activity: 0%

    Registriert seit
    May 2006
    Ort
    Behind you.
    Beiträge
    1.814
    Points
    10.921
    Level
    69
    Downloads
    0
    Uploads
    0

    Standard

    Wow.....this is not gonna be pretty....sure? It's pretty much my source for my biography of us presidents app that i will release this weekend (i just have to polish up my code and add mp3 player). Well, here it is:
    http://rafb.net/p/wuCsy683.html
    Calypso - Enjoy the excellent 2D space shooter:
    http://dl.qj.net/Calypso-v1-PSP-Home...6542/catid/195

    "Quoting yourself in your signature means you love to masterbate while looking at the mirror." -me (oh, wait...)

  15. #4485
    QJ Gamer Bronze
    Points: 4.912, Level: 44
    Level completed: 81%, Points required for next Level: 38
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Beiträge
    90
    Points
    4.912
    Level
    44
    Downloads
    0
    Uploads
    0

    Standard

    Just guessing, but I think you might have an extra closing bracket:

    Code:
    }
        sceKernelSleepThread();
        return 0;
    }
    Also, your code is ridiculously redundant. For example, this:

    Spoiler for before:
    Code:
               if (mainsetting == 1) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 1;
               }
               else if (mainsetting == 2) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 2;
               }
               else if (mainsetting == 3) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 3;
               }
               else if (mainsetting == 4) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 4;
               }
               else if (mainsetting == 5) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 5;
               }
               else if (mainsetting == 6) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 6;
               }
               else if (mainsetting == 7) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 7;
               }
               else if (mainsetting == 8) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 8;
               }
               else if (mainsetting == 9) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 9;
               }
               else if (mainsetting == 10) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 10;
               }
               else if (mainsetting == 11) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 11;
               }
               else if (mainsetting == 12) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 12;
               }
               else if (mainsetting == 13) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 13;
               }
               else if (mainsetting == 14) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 14;
               }
               else if (mainsetting == 15) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 15;
               }
               else if (mainsetting == 16) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 16;
               }
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 17;
               }
               else if (mainsetting == 18) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 18;
               }
               else if (mainsetting == 19) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 19;
               }   
               else if (mainsetting == 20) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 20;
               }
               else if (mainsetting == 21) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 21;
               }
               else if (mainsetting == 22) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 22;
               }
               else if (mainsetting == 23) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 23;
               }
               else if (mainsetting == 24) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 24;
               }
               else if (mainsetting == 25) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 25;
               }
               else if (mainsetting == 26) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 26;
               }
               else if (mainsetting == 27) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 27;
               }
               else if (mainsetting == 28) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 28;
               }
               else if (mainsetting == 29) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 29;
               }
               else if (mainsetting == 30) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 30;
               }
               else if (mainsetting == 31) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 31;
               }
               else if (mainsetting == 32) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 32;
               }
               else if (mainsetting == 33) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 33;
               }
               else if (mainsetting == 34) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 34;
               }
               else if (mainsetting == 35) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 35;
               }
               else if (mainsetting == 36) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 36;
               }
               else if (mainsetting == 37) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 37;
               }   
               else if (mainsetting == 38) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 38;
               }
               else if (mainsetting == 39) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 39;
               }
               else if (mainsetting == 40) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 40;
               }
               else if (mainsetting == 41) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 41;
               }
               else if (mainsetting == 42) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 42;
               }
               else if (mainsetting == 43) {
                   clearScreen(0);
                   OnMain = 0;
                   OnPicture = 1;
                   picturesetting = 43;
               }
               else if (mainsetting == 44) {
                   OnMain = 0;
                   OnMenu = 1;
                   menusetting = 1;
               }


    can be shortened to something like this:

    Code:
               clearScreen(0);
               OnMain = 0;
    
               if (mainsetting != 44) {
                   OnPicture = 1;
                   picturesetting = mainsetting;
               }
               else {
                   OnMenu = 1;
                   menusetting = 1;
               }
    There's a lot more things like this that would make you code easier to read and to maintain.

  16. #4486
    QJ Gamer Silver
    Points: 10.921, Level: 69
    Level completed: 18%, Points required for next Level: 329
    Overall activity: 0%

    Registriert seit
    May 2006
    Ort
    Behind you.
    Beiträge
    1.814
    Points
    10.921
    Level
    69
    Downloads
    0
    Uploads
    0

    Standard

    Thanks for the tips dude! The second code you gave me is much shorter and better, and i should have seen the pattern. Thanks. Also, by taking out the bracket, i get an error that the main function is non-static, i need that. My code compiles, and it doesn't freeze either, you can see everything loading, the home button works, and the sound is working when you move. Basically, the flipScreen is working.
    Geändert von SuperBatXS (05-16-2007 um 07:57 PM Uhr)
    Calypso - Enjoy the excellent 2D space shooter:
    http://dl.qj.net/Calypso-v1-PSP-Home...6542/catid/195

    "Quoting yourself in your signature means you love to masterbate while looking at the mirror." -me (oh, wait...)

  17. #4487
    QJ Gamer Gold
    Points: 17.453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    everywhere
    Beiträge
    3.526
    Points
    17.453
    Level
    84
    Downloads
    1
    Uploads
    0

    Standard

    edit: nvm
    -= Double Post =-
    ok heres my question:

    how do i return the mac address
    -= Double Post =-
    nvm i figured it out
    Geändert von slicer4ever (05-16-2007 um 08:34 PM Uhr) Grund: Automerged Doublepost
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  18. #4488
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Raphael
    The screen is the screen. If you clear it, it's cleared and stays so until you change it again. The screen doesn't care for threads or multiple processors working with it. If you consult your brain, it will give you the same answer.
    I thought so , but how do you let disapere text in thread one , without touching the text in thread 2

  19. #4489
    QJ Gamer Bronze
    Points: 5.092, Level: 45
    Level completed: 72%, Points required for next Level: 58
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Beiträge
    169
    Points
    5.092
    Level
    45
    Downloads
    0
    Uploads
    0

    Standard

    I want to recode my game PSPokemon to C but I always get the error "Graphics.h: No such file or directory". It would be great if someone can give me the file.

  20. #4490
    QJ Gamer Bronze
    Points: 5.402, Level: 47
    Level completed: 26%, Points required for next Level: 148
    Overall activity: 0%

    Registriert seit
    Apr 2007
    Beiträge
    468
    Points
    5.402
    Level
    47
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von sony psp player
    I want to recode my game PSPokemon to C but I always get the error "Graphics.h: No such file or directory". It would be great if someone can give me the file.
    you can get it here
    http://www.psp-programming.com/tutorials/c/lesson04.zip

  21. #4491
    QJ Gamer Silver
    Points: 7.385, Level: 57
    Level completed: 18%, Points required for next Level: 165
    Overall activity: 0%

    Registriert seit
    Sep 2006
    Ort
    Finland
    Beiträge
    752
    Points
    7.385
    Level
    57
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von hallo007
    I thought so , but how do you let disapere text in thread one , without touching the text in thread 2
    If I understood right, just paint the text from thread 2 after clearing the screen.
    wheeee =:D

  22. #4492
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    mm , but how does sony then creat the exit screen?

  23. #4493
    QJ Gamer Silver
    Points: 7.385, Level: 57
    Level completed: 18%, Points required for next Level: 165
    Overall activity: 0%

    Registriert seit
    Sep 2006
    Ort
    Finland
    Beiträge
    752
    Points
    7.385
    Level
    57
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von hallo007
    mm , but how does sony then creat the exit screen?
    Maybe it draws it's own stuff AFTER the game has drawn its own?
    wheeee =:D

  24. #4494
    QJ Gamer Silver
    Points: 7.278, Level: 56
    Level completed: 64%, Points required for next Level: 72
    Overall activity: 0%

    Registriert seit
    Oct 2006
    Ort
    Pimp'en in the US F#
    Beiträge
    1.254
    Points
    7.278
    Level
    56
    Downloads
    0
    Uploads
    0

    Standard

    For a file browser, would the following check to see if a file is an mp3?
    Code:
    if(strcmp(".mp3", gameEntry[current_selection].name)-4)
    And would this load and play that file appropriately?
    Code:
    MP3_Init(1);
    MP3_Load(gameEntry[current_selection].name);
    MP3_Play();
    The Wentire Worls in two Sectors....
    When did I get dev statz?
    Spoiler for my PSP homebrewReleases:
    Ace of Space V1|PvP Pong Online|PvP Pong v3 | 3.03 BlackShark Custom Firmware
    (PvP Pong DL'ed well over 2403 times combined! get yours now!)
    Spoiler for Great Quotes:

    "No Snowflake in an Avalanche ever feels responsible....." - Fortune Cookie.

  25. #4495
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    1)if(strcmp(".mp3", gameEntry[current_selection].name) == 0)

    2) dunno how you made your mp3player
    -= Double Post =-
    error: syntax error before 'RpKeyBoard
    error: syntax error before '{' token
    error: syntax error before '}' token

    Code:
    class RpKeyBoard
    {
          public:
                 int keyPressed();
                 int KEY_ENTER;
                 };
    the code is 100% correct , do i need to include something for classes on psp?
    Geändert von hallo007 (05-17-2007 um 12:04 AM Uhr) Grund: Automerged Doublepost

  26. #4496
    Developer
    Points: 7.577, Level: 58
    Level completed: 14%, Points required for next Level: 173
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Beiträge
    1.026
    Points
    7.577
    Level
    58
    Downloads
    0
    Uploads
    0

    Standard

    Well, you need to make sure that the suffix of the file is .cpp for C++.

    You'll also need to link lstdc++ in your Makefile.

    Check out my homebrew & C tutorials at http://insomniac.0x89.org/
    Coder formerly known as Insomniac197

    tshirtz: what is irshell ??
    Atarian_: it's where people who work for the IRS go when they die

  27. #4497
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    oke , back to the structs , otherwhise i need to port my code to c++ , thnx anyway
    -= Double Post =-
    Code:
    main.c:87: warning: passing argument 2 of 'sceKernelCreateThread' from incompatible pointer type
    Code:
    soundThread = sceKernelCreateThread("Menusoundthread", menuSoundThread, 0x20, 0x10000, 0, NULL);
    Code:
    int menuSoundThread(int argc, const char* argv[])
    what is wrong with argument two?
    Geändert von hallo007 (05-17-2007 um 12:49 AM Uhr) Grund: Automerged Doublepost

  28. #4498
    QJ Gamer Green
    Points: 6.129, Level: 50
    Level completed: 90%, Points required for next Level: 21
    Overall activity: 0%

    Registriert seit
    Oct 2006
    Ort
    UnkowN
    Beiträge
    688
    Points
    6.129
    Level
    50
    Downloads
    0
    Uploads
    0

    Standard

    dudes i was wondering if there was FireFox 2 on PSP i have searched the web and i found a prank and i was wondering if there was anyone who wanted to get into the scene this can a great idea as FireFox can change themes,has plugins(i hope it would work) and lots of updates and ThunderBird can also be a good suggestion
    [FONT="Courier New"][COLOR="teal"]MsHarsed[/COLOR][/FONT]

  29. #4499
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    there is a specualtion forum .......
    -= Double Post =-
    Zitat Zitat von hallo007
    Code:
    main.c:87: warning: passing argument 2 of 'sceKernelCreateThread' from incompatible pointer type
    Code:
    soundThread = sceKernelCreateThread("Menusoundthread", menuSoundThread, 0x20, 0x10000, 0, NULL);
    Code:
    int menuSoundThread(int argc, const char* argv[])
    what is wrong with argument two?
    still not fixed
    -= Double Post =-
    fixed , you need to use (SceSize args, void *argp) instead of (int argc, const char* argv[])
    Geändert von hallo007 (05-17-2007 um 07:13 AM Uhr) Grund: Automerged Doublepost

  30. #4500
    QJ Gamer Gold
    Points: 17.453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    everywhere
    Beiträge
    3.526
    Points
    17.453
    Level
    84
    Downloads
    1
    Uploads
    0

    Standard

    how do i get the psp's mac address i know i gatta use this command:

    Spoiler for command:

    /**
    * Get the Ethernet Address of the wlan controller
    *
    * @param etherAddr - pointer to a buffer of chars with at least length 7
    * @return 0 on success, < 0 on error
    */
    int sceWlanGetEtherAddr(char *etherAddr);


    so i try and call it like:

    char mac_address[7] //7 because thats what the function says to have

    then i call it like:
    sceWlanGetEtherAddr(mac_a ddress);

    but it doesn't place anything into the mac_address as i need to get the mac address.
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been


 

Tags for this Thread

Forumregeln

  • Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
  • Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
  • Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
  • Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.
  •  





Alle Zeitangaben in WEZ -8. Es ist jetzt 09:15 PM Uhr.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © , Caputo Media, LLC. All Rights Reserved. Cluster .