2. added SHAREDIR, BINDIR, LIBDIR, and MANDIR optional parameters to install/uninstall scripts
3. added SHAREDIR, BINDIR, LIBDIR, and MANDIR as makefile install options
4. re-factored Installation Directory search code. Previously, it searched in this order:
A. directory specified on command line with --installdir
B. $PREFIX/share/mupen64plus with $PREFIX given at compile time
C. same directory as the mupen64plus binary
D. current working directory
The new code searches in the following order:
A. directory specified on command line with --installdir
B. same directory as the mupen64plus binary
C. /usr/local/share/mupen64plus
D. /usr/share/mupen64plus
E. current working directory
5. Added PluginDirectory parameter to mupen64plus.conf file and necessary handling code in main.c
THIS PATCH IS PRELIMINARY AND DOES NOT WORK.
It also needs some major cleanup and most plugins are not yet compiling. Going to need any help I can get here, but I'll be working on it.
-Separated LIRC functions into new lirc.c file so they can be used in gui or nogui build.
-Added pause/continue functionality to LIRC.
-Made it so LIRC commands work while emulation is paused.
-Added wiki page on how to setup LIRC for Mupen64Plus.
-Fixed minor bug with g_EmulationRunning (it was being set to 1 during stopEmulation).
-Added default plugins to mupen64plus.conf file:
-Gfx: ricevideo.so
-Audio: mupen64_audio.so
-Input: blight_input.so
-RSP: mupen64_hle_rsp_azimer.so
These two fixes address the problem of no plugins being selected on first load of mupen64plus.