Commit graph

130 commits

Author SHA1 Message Date
Richard Goedeken
a271f31907 bugfix: rev 1401 broke almost all key commands. unicode and keysyms are totally different and not interchangeable. 2009-07-09 01:58:52 +00:00
olejl
8b1b31915b Added possibility to edit hotkeys in the Qt4 GUI. Closes issues #220 and #221. 2009-06-20 15:36:42 +00:00
Richard Goedeken
1abcad2b57 fixed spelling errors in issues 240 2009-06-09 15:35:16 +00:00
Richard Goedeken
60d99e6776 merged r0982-cheats branch 2009-03-28 14:40:14 +00:00
Louai Al-Khanji
b5d946aceb User reported that stdlib.h is required. 2009-03-16 17:34:08 +00:00
Richard Goedeken
8fcd8ea3b0 removed commit 1321 and the broken signal handling code changes from the r970-sdl-threads branch, which probably are causing issue #201. Replaced with a simple abort() 2009-02-17 04:01:34 +00:00
Richard Goedeken
d765b1909c bugfix: issue #201 - infinite loop of segfault signals. restore default handler after first signal, so it will terminate program upon further receipt 2009-02-11 01:29:43 +00:00
Richard Goedeken
8e6daca40b changed default emulator pause key from SDLK_PAUSE to SDLK_p, because Macintosh keyboards dont have a pause key, resolving issue 181 2009-01-03 16:48:10 +00:00
Jesse Dean
895a9d3d48 Rewrite of debugger memory breakpoint trap. Memory breakpoints are now
trapped by functions injected into the memory function tables.  
New setup should be MUCH faster, and more flexible
2008-12-22 04:54:03 +00:00
Jesse Dean
b3e7855e07 Auria's patch to get all mupen paths for app bundles 2008-12-19 21:09:25 +00:00
Jesse Dean
97cb31db60 Auria's config path check for app bundles on osx 2008-12-19 20:48:50 +00:00
Jesse Dean
a6860ca17b Correct debugger handling of delay slots, breakpoints on those slots now work,
and the order is cyple-by-cyle.  Also removed seperate version string for 
debugger, fixed the appearance of the disassembler including the quality of 
disassembled opcodes.  Allow frontend to close program even if execution is in 
step mode.  Added ZZT32 as contributor to decoder.c and cleaned up a lot of 
the garbage dumped to stdout & stderr.
2008-12-16 06:28:15 +00:00
Louai Al-Khanji
b43e00aeb6 Better plugin compatibility 2008-11-22 12:53:47 +00:00
Richard Goedeken
2bb620d351 fixed spelling error 2008-11-14 13:41:07 +00:00
Richard Goedeken
ec4dd04541 refactored the end of the main() function to be easier to read, not have duplicate copies of the cleanup code, and save the config files in the NO_GUI build also 2008-11-14 05:15:08 +00:00
Richard Goedeken
0ecd3bf5cf refactored the SDL event loop to use configurable key commands with defaults set to the current hard-coded keys. This is derived from the first patch given in issue 41 2008-11-14 04:53:47 +00:00
Scott Knauert
8049d55592 Fix race conditions and gdk threading issues that cause crashes with Rice.
- 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.
2008-11-02 08:43:15 +00:00
Scott Knauert
eaea016270 Added stop rumble to load savestate, fixes issue 165. 2008-10-29 16:18:56 +00:00
Louai Al-Khanji
573754f057 Fix up gui_message calls. Clean up gtk implementation. 2008-10-05 20:48:15 +00:00
Scott Knauert
008a65eaeb Primarily implementation of new GUI state API and associated Gtk2 and Qt4 implementations. Fixed one minor Gtk bug (unable to select large toolbar icons). Fixed a could of NO_GUI warnings. Changed romcache.h to not define RCS structures in NO_GUI mode (more optimized NO_GUI binary). Fixed some non-ANSI static code analysis "bugs" mainly function() -> function(void) in C declarations. Also some GPL header updates to the newest template. Sorry for the large commit. 2008-10-05 03:33:52 +00:00
Richard Goedeken
210f946cae added newlines to the end of every source file which was missing one 2008-09-27 15:22:21 +00:00
Scott Knauert
83f614d45c Minor fixes, primarily to allow for compiling with -Wall, but also formatting and comments. A few corner case bugs found. 2008-09-25 21:46:06 +00:00
Scott Knauert
1bd211aa06 First stab at themable Gtk icons for plugins. Extended plugin API with EXPORT void CALL SetInstallDir(char* installDir) based on the config dir work we had done. Modified core to send the install dir. Modified Rice to accept (since glide64 and rice share the same dialog system and we want to remove the windows icons from glide64), checks for a Gtk icon theme and hook into the theme change (does do transient dialog icon changes like the core, yet). Feel free to revert or offer other suggestions as to how best handle this. 2008-09-12 05:46:45 +00:00
Richard Goedeken
18aa4baf5b use SDL instead of pthreads in debugger, remove pthread from library list in makefile, fix small bug in glide64 makefile 2008-09-06 20:09:28 +00:00
Richard Goedeken
b69eb75714 merged r0970-sdl-threads branch into trunk. fixed old bug in signal handler 2008-09-06 05:27:50 +00:00
Scott Knauert
6790b9ce6b Fixed minor icon oversight and win32 pthread bug. 2008-09-05 09:06:24 +00:00
Scott Knauert
e1c56bbc69 Minor cleanup of SDL_opengl.h include fix. Minor threading issue fix. 2008-09-04 04:30:13 +00:00
Louai Al-Khanji
9c1f8ca013 Don't crash on linux. This should be fixed in the plugins. 2008-09-01 20:31:26 +00:00
Louai Al-Khanji
2404721def Properly close plugins when stopping emulation. This gets rid of ghost windows on win32. 2008-09-01 19:05:25 +00:00
Louai Al-Khanji
75f324cfc6 Merge win32 branch 2008-09-01 12:44:16 +00:00
Scott Knauert
a4069b48ad Gtk GUI updates for core and Jttl. Mostly Jttl polishing (add mnemonics) and dialog cleanup. Core config dialog, still needs work. 2008-08-26 21:34:23 +00:00
Louai Al-Khanji
70155cb18d Remove all things KDE. Renaming still needs to be done. 2008-08-22 04:02:28 +00:00
Scott Knauert
bc2476ede2 Removed defunct and unlicensed VCR functions, and language files. FSF address fixes. 2008-08-19 04:28:04 +00:00
Scott Knauert
2440008f10 Real compile guards for PLUGIN_INFO struct in Zilmar plugin spec. Rice video license fixes. 2008-08-18 22:50:55 +00:00
Scott Knauert
6b2000be7c Updated man page with new options more correct syntax and GPL 2+ license. Modified README and binary help messages to all match. 2008-08-14 16:40:26 +00:00
Scott Knauert
620f98bd77 Implemented parts of astrange's portability patch. Mainly header (some missed malloc, some superfluous #includes removed) and plugin makefile improvements to improve OSX portability. 2008-07-28 02:56:08 +00:00
Richard Goedeken
7902490dd8 1. fixed missing tabs near 7zip source files in Makefile
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
2008-07-27 21:02:18 +00:00
Scott Knauert
12c25b0ab5 Added --romnumber command line option for specifying roms in multifile archives. Two very small cleanups, removed stay ":" from rom properties in Gtk GUI, and removed GameShark Pro V3.3 from .ini as it had the 0 byte MD5 string (bad dump). 2008-07-26 18:32:07 +00:00
Richard Goedeken
edbee1680a new feature: hit F9 for soft reset. According to N64 manuals, this is a 2-step operation: first an external HW2 interrupt fires, and 0.5 seconds later an NMI fires. Im not sure if the HW2 interrupt is proceeding properly; it will require some work with the debugger to walk through this. But the NMI correctly resets the CPU system and the game 2008-07-21 00:09:05 +00:00
Richard Goedeken
80b56a4fff Merged volume changing patch from Wahrhaft, with lots of changes by Richard42. Now both SDL-based and OSS-based volume controls are supported. 2008-07-16 04:39:14 +00:00
Scott Knauert
a2ed083f95 Overhaul of messaging system. Mainly remove guifuncs.c and the associated includes. Double checked GUI=NONE build. Also changed alert_message to error_message as this is the more logical name. Also merged the three gui message functions which included a lot of repeated code as to simplify the gui api. 2008-07-14 06:42:33 +00:00
Scott Knauert
8ce2d351ad Added simple rcs pausing 2008-07-14 03:27:19 +00:00
Scott Knauert
195afbe213 Fix semicolon bug in rom.c's hack detection for loop. Changed noask and messaging to only allow confirmation in GUI mode. Added #ifndefs for GUI=NONE option. Removed console confirmation code from guifuncs and the gui confirm.
-This line, and those below, will be ignored--

M    main/gui_gtk/main_gtk.c
M    main/guifuncs.c
M    main/main.c
M    main/rom.c
2008-07-13 23:46:38 +00:00
Richard Goedeken
96556138a8 merged in r4300 reset/execute cleanup from r0344-soft-reset branch 2008-07-13 02:54:50 +00:00
Richard Goedeken
1c5a242da3 Changed new AlwaysFullscreen parameter name to GuiStartFullscreen. Reworked parameter init logic so this parameter will only affect behaviour in GUI mode 2008-07-02 04:30:35 +00:00
James Hood
61a39ba35d Added "Always Start in Full Screen Mode" checkbox to config dialog. 2008-07-01 18:04:20 +00:00
Richard Goedeken
44bb98d785 remove brackets around single conditional clauses (except romcache.*) 2008-07-01 03:33:05 +00:00
Scott Knauert
b2427e1fb3 Fix bug when changing languages in Gtk GUI, simplify code and try to exit more cleanly. 2008-06-30 23:41:32 +00:00
Scott Knauert
8ea4bb4f53 Two more bugfixes thanks to Valgrind. Free string returned from gtk_combo_box_get_active_text, more correctly hanle RCS pthread. Fixed possible seg fault in filefrompath (although there still seems to be a leak somewhere here). 2008-06-30 17:44:45 +00:00
Scott Knauert
e76c5e94e6 Readded emulation started message, switched rcs messages over to unified messaging system. 2008-06-27 06:12:33 +00:00