Viewing 1 post (of 1 total)
  • Author
  • tochumascao
    Post count: 2

    Hi! need help, I am trying to configure my controls to mame ps3 by usb in RetroPie v2.3, me in the other emulators work fine, but do not get mame to work. follow the instructions below:

    “sudo nano /opt/retropie/emulators/mame4all-pi/src/rpi/minimal.cpp

    Comment out lines 168 to 174 so that the code appears as

    // if (SDL_JoystickNumAxes(myjoy[i]) > 6)
    // {
    // SDL_JoystickClose(myjoy[i]);
    // myjoy[i]=0;
    // logerror(“Error detected invalid joystick/keyboard\n”);
    // break;
    // }
    If you are having difficulty editing the file, then you can find an amended copy at this post at the Retropie forum to overwrite your existing copy.

    Save and exit.

    Recompile by going to the mame4all directory

    cd /opt/retropie/emulators/mame4all-pi/

    and running the following command.


    but I get the following error when compiling:

    src/rpi/minimal.cpp:130:19: warning: ‘context’ defined but not used [-Wunused-variable]
    src/rpi/minimal.cpp:131:30: warning: ‘nativewindow’ defined but not used [-Wunused-variable]
    Makefile:75: recipe for target 'obj_mame_rpi/rpi/minimal.o' failed
    make: *** [obj_mame_rpi/rpi/minimal.o] Error 1
    pi@raspberrypi /opt/retropie/emulators/mame4all-pi $

    any idea how to fix it?

Viewing 1 post (of 1 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.