Hello I have a little request if someone doesn't mind helping me with this. I have a small frustration when using homebrew apps on my psp. For some reason everybody that makes them codes them with the X and O buttons reversed from what normal US playstation and psp games use. IE on an actual psp game pressing X selects/executes an option, and O back the user out. However say in NestorJ the NES emulator this is the opposite. Pressing X backs out and pressing O selects. This has become frustrating. when you have to press X to start the emulator and then switch your thought proccess to pressing O to select once the Emu is started. I do know enough that I found the configuration file (NES_PAD.H)in the NestorJ source code that NestorJ uses to set which buttons operate which functions.
NES_A = 0x01,
NES_B = 0x02,
NES_SELECT = 0x04, // PLAYER2 MIC
NES_START = 0x08,
NES_UP = 0x10,
NES_DOWN = 0x20,
NES_LEFT = 0x40,
NES_RIGHT = 0x80
If my Assumptions are correct Switching the values for the lines NES_A
NES_B (switch 1 to 2 and 2 to 1)should switch the X and O buttons so that they react the same as a us psp.
I am nowhere near being a programmer nor do I understand how to use the psp sdk. if there is someone who can make this change and compile the emulator so that I can see if this works. If it does work I would like to convert all my Emulators like this as these backwards buttons drive me up the wall. I thanks all who might lend there help and time
Thanks
Rploesser
A simple source code compile request
-
- Posts: 7
- Joined: Sat Sep 17, 2005 1:19 pm
Thanks for your info on this issue
Do you possibly know what compiler nestorj uses, or where I can find out that info? Although this seems like a very minor issue. It bugs me alot and I would love to be able to make this change and recompile nestorj.
Thanks
Rploesser
Thanks
Rploesser
getting a little further
Well im getting a little further with my quest to fix these annoying buttons. I followed your advice and downloaded the ps2sdk. and used that to attempt to compile nestorj. I got alot further it went through alot of data scrolling up the cmd window as it was compiling. However it did spit out an error. below are the last four line it displayed before stopping.
g -o out > nestorj.map
outpatch
modulename not found
make: *** [out] error 1
Like I said following your advice I got alot further. Before it wouldnt even begin to compile anything. So it appears you have led me down the right road. but now this is where im stuck
Thanks
Rploesser
g -o out > nestorj.map
outpatch
modulename not found
make: *** [out] error 1
Like I said following your advice I got alot further. Before it wouldnt even begin to compile anything. So it appears you have led me down the right road. but now this is where im stuck
Thanks
Rploesser
-
- Posts: 7
- Joined: Sat Sep 17, 2005 1:19 pm