Commit graph

436 commits

Author SHA1 Message Date
Scott Knauert
69c5b72e2b Fix license comment build break. 2008-08-14 22:58:23 +00:00
Scott Knauert
a29f41cfba License fixes and jttl audio build issues. 2008-08-14 22:25:49 +00:00
Scott Knauert
34f5d5ecc0 More license fixes, removed unlicensed and unused mupen64 graphic. 2008-08-14 16:43:58 +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
6d12da379d Two main updates. Mostly a number of older Gtk GUI related improvmenets to Jttl Audio that were never commited, with the idea that we should get one plugin fairly polished as an example for new developers. Also fixed license issues with Mupen64plus makefiles, jttl audio files, and 7zip decoder. 2008-08-14 06:49:46 +00:00
Scott Knauert
b3f8add4fd Commited a number of build system improvements. Mostly focusing on getting NOGUI versions of plugins to not require Gtk libs and improvements related to the OSX porting effort. Tested not to break any of the GUI build options on 32-bit linux. 2008-08-04 06:12:29 +00:00
Scott Knauert
b1e5768ee7 Add ability to compile glN64 with GUI=NONE option, removing Gtk2 dependenve. Currenly one
must do this manually and not with the main makefile.
2008-07-31 05:05:32 +00:00
Scott Knauert
73ead3a0eb Minor logic bug for KDE4 GUI play bug. 2008-07-29 05:45:30 +00:00
Scott Knauert
1a655027ec Many KDE4 GUI improvements. Fixed Play issue (selecting ROM and pressing play would not load ROM), re-added settings menu (removed in KXmlGUI rework), integrated with config system. Possible to hide filter. Uses toolbar settings from config system. Added plugin config options. Gtk GUI code is mainly an optimization of config integration. 2008-07-29 05:34:52 +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
Louai Al-Khanji
832574561b Fix compilation error. 2008-07-27 22:09:10 +00:00
Louai Al-Khanji
1cb2832839 Whitespace changes 2008-07-27 22:03:26 +00:00
Scott Knauert
7fbf317104 Initial rough transition of KDE4 GUI off of KXmlGUIFactory() dependence. 2008-07-27 21:37:22 +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
Scott Knauert
8f8b089899 Add OSX malloc.patch to trunk as <malloc.h> is non standard and there is no reason not to #include <stdlib.h> instead. In the process did some minor janitorial work on Gtk GUI, cleaning up extra #includes no longer needed (mainly non-RCS rom cache), gui_messages of messagetype = 1 would never occur, and gcc found a bug in filefrompath(). 2008-07-26 10:04:08 +00:00
Scott Knauert
9263428e6d KDE4 GUI slots now work (if slot is changed elsewhere, menu shows correct slot), slot is persistant. Added multirom archive suport to KDE4 GUI rombrowser. Minor KDE4 and Gtk GUI menu text / accelerator and mnemonic updates. 2008-07-22 18:23:46 +00:00
Richard Goedeken
e1c19292b6 fixed small logical error in strcpy loop in util.c 2008-07-22 03:34:30 +00:00
Scott Knauert
874f98993d KDE4 GUI rombrowser will now ask to load a ROM if play is pressed without a ROM loaded or a ROM selected in the rombrowser, or will load the selected ROM. Like Gtk GUI. 2008-07-22 01:55:44 +00:00
Scott Knauert
94e853099e Fix two KDE4 GUI crashing bugs (load bad ROM and user opt to close it, press Play without ROM loaded), altered makefile to only rebuild .cpp files with changes. 2008-07-21 01:51:39 +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
Scott Knauert
5fe5231c0c KDE4 GUI improvements. Fix all compiler warnings. Fix crashing when opening Gtk dialogs in plugins. Added persistant size / position from config. Changed default rombrowser selection to only launch emulation on double click (like Gtk GUI). 2008-07-20 22:55:42 +00:00
Scott Knauert
a91aba44ed Additional fix for KDE4 GUI .rc. 2008-07-20 18:13:38 +00:00
Scott Knauert
d673b2a899 Initial fix of KDE4 GUI. It now compiles. Uses new GUI API and recieves rombrowser info from RCS. Changes to main/gui_gtk/rombrowser.c are improved comments. The KDE4 GUI still needs a lot of work. 2008-07-20 18:11:44 +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
f5018bca8a Improved comments for RCS and rom loading. 2008-07-15 15:20:17 +00:00
Scott Knauert
a67da4502b Fixed reload() compiler warning. Shouldn't be in header since its not a public function. 2008-07-14 06:45:28 +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
Scott Knauert
e3b1481a59 Changed rombrowser.cache format, added 4 bytes worth of 0s to the header so older (non RCS) versions simply ignore and rebuild the cache (as opposed to generally running out of memory or segfaulting). When switching back to an RCS version the cache will need to be rebuilt. Also changed some cache_entry types from unsigned short to unsigned chars to save space. Fixed two minor RCS bugs. Also added Penny Racers to the .ini. 2008-07-13 22:25:55 +00:00
Richard Goedeken
96556138a8 merged in r4300 reset/execute cleanup from r0344-soft-reset branch 2008-07-13 02:54:50 +00:00
Scott Knauert
4c46faf33d .ini update, added a number of PD ROMs. Snowboard Kids should now boot (eeprom issue). Also fixed minor bug with detecting if a ROM was bad / a hack. 2008-07-12 02:02:04 +00:00
Richard Goedeken
c9126f8ae6 Savestate changes: bugfix - write entire TLB, also save a magic number and a savestate version number. This breaks backward compatibility with savestates. 2008-07-11 03:26:24 +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
c87e1fe3e3 fixed warning in 7zip code for 64-bit systems 2008-07-01 04:03:51 +00:00
Scott Knauert
827c42173e Added newline, fixes compiler warning. 2008-07-01 03:55:04 +00:00
Richard Goedeken
44bb98d785 remove brackets around single conditional clauses (except romcache.*) 2008-07-01 03:33:05 +00:00
Richard Goedeken
30a1228913 style corrections for rev 722 - do not change C comments to C++ comments in a C file 2008-07-01 02:35:20 +00:00
Richard Goedeken
3f1e3b3797 style and logic fixes for rev 715 - please see coding guideline #2 - follow style of existing code - dont put brackets around single conditional clauses. Also guideline #9 - for the sake of readable code use some spaces in conditional expressions 2008-07-01 02:21:09 +00:00
Scott Knauert
59b84b98db Added MainWindowXPosition and MainWindowYPosition so Gtk GUI remembers screen location along with sane fallbacks in case the user changes resolution. 2008-07-01 00:27:01 +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
9eaf6e88e5 Fixed compiler warning in Glide64, initialized gltexfmt, glpixfmt, glpackfmt to 0. 2008-06-30 19:42:03 +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
28682c4e3d Bugfixes thanks to Valgrind. Two using strcpy with source and destination overlay, i.e. strcpy(p,p+1). Three writing %X int to byte memory space. 2008-06-30 16:18:11 +00:00
Scott Knauert
a15ed3a458 Two memory bugs found with valgrind (not freeing 7zip db and having an if(buffer[counter]) for possible unitialized values of buffer). 2008-06-30 13:10:16 +00:00
Scott Knauert
685f42a28e Rough 7zip support. 2008-06-30 01:13:04 +00:00
Richard Goedeken
5d3f679afc dont remove the newlines at the end of source files - the compiler complains 2008-06-27 12:26:40 +00:00
Scott Knauert
53bef26d5a Multifile zip support. 2008-06-27 10:59:33 +00:00