- Only update the GUI's state after fully initializing the core in the emulation thread. This stops a race condition when plugin loading takes a long time (mostly noticable with hi-res textures on Rice).
- Exit gdk when calling core functions (core start / stop / pause - likely others will need this) since they may turn around and call GUI functions. This prevents a double locked gdk which causes a freeze.
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
-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.