Commit graph

417 commits

Author SHA1 Message Date
Richard Goedeken
4b96690016 a little refactoring so that release builds will display plain version numbers with no -development or -rxxxx. 2008-06-21 01:50:11 +00:00
Scott Knauert
8eb672f7d4 Moved mupen64plus.ini to installdir since its not user edittable. 2008-06-20 08:12:30 +00:00
Jesse Dean
59a83f1030 Added version number to information displayed on stdout 2008-06-20 08:07:20 +00:00
Scott Knauert
e05e7e8078 More properly setup empty entry and default database entries to deal with dynamic allocation. Fixes seg faults when using older or improperly formatted .ini. Might fix some of the semirandom seg faults some users were experiencing. Remove some old debugging code. 2008-06-20 07:09:37 +00:00
Jesse Dean
a837b799d8 Added to version string the SVN revision, branch and a hash of the 'svn diff' if that diff is
not empty
2008-06-20 06:42:56 +00:00
Scott Knauert
703157916d Made gzip and bzip2 decompression 50-100% faster. 2008-06-20 05:33:11 +00:00
Scott Knauert
c6e067fbd2 Added bzip2 support, readded unstream fixes from minizip library and redeleted MupenIniApi (cleanup from merge). 2008-06-19 07:40:49 +00:00
Richard Goedeken
9eebbdb55b Rom Cache System has landed in the trunk. 2008-06-19 04:29:35 +00:00
Richard Goedeken
62da9e3122 refactored the recent speed/pause/advance changes to be a bit more object oriented. Instead of making the local variables global and spreading the code around in the files, write new global functions which manipulate the local variables and can be called from other places. This also decreases source code size slightly 2008-06-19 02:13:26 +00:00
Jesse Dean
ec94be6322 Added speedup, slowdown, pause and frame advance to LIRC support 2008-06-18 18:52:17 +00:00
Richard Goedeken
c0853c464b fix LIRC build to integrate w/ new screenshot mechanism; some refactoring 2008-06-18 01:56:30 +00:00
Richard Goedeken
18a6042d03 another couple of memory leak fixes from Tub, in main/config.c 2008-06-17 19:06:30 +00:00
Richard Goedeken
c1de297dd3 fix from Tub for free() bug in main/util.c/list_delete() 2008-06-17 14:19:23 +00:00
Richard Goedeken
8ec163dcaf Moved new minzip files from compression/zip to main/zip (too many folders in root), removed old unzip.* and ioapi.* files in main 2008-06-17 03:22:17 +00:00
Scott Knauert
4d6691b363 Updated zip decompression library to 1.01e from 0.18. 2008-06-16 01:09:51 +00:00
Richard Goedeken
c624419312 Updated version number on trunk for 1.4 release 2008-06-15 03:03:14 +00:00
Richard Goedeken
8355b89053 put some sanity back into the save slot numbering scheme 2008-06-15 02:54:01 +00:00
Richard Goedeken
15547b5f96 Updated rice_video, kde4 gui, and jttl_audio to take version numbers from main/version.h. 2008-06-14 21:53:20 +00:00
Scott Knauert
3938f7024d Added a toggle for the Gtk GUI which turns OSD on or off without restarting. Documented --noosd flag. Integrated with config file. Removed old Gtk GUI config defaults from mupen64plus.conf which are no longer used (and haven't been since ~r420). Config overridden on startup by commandline flag so no loss of function for nogui users. 2008-06-14 04:15:17 +00:00
Scott Knauert
02cc55fd0c Fixed gtk bug discovered by compiling against gtk 2.12.10-2. 2008-06-13 02:00:41 +00:00
Richard Goedeken
ca505dce6d Fixed a whole bunch of warnings in the debugger. Most were 64-bit issues 2008-06-12 18:23:51 +00:00
Richard Goedeken
e0d97e7dfe Build mupen64plus instead of mupen64plus_dbg when DBG=1 to avoid install failure; do update_breakpoints() at end of init_breakpoints() in main/gui_gtk/debugger/breakpoints.c to populate list with previously set breakpoints 2008-06-11 13:33:45 +00:00
Richard Goedeken
38e92c3a76 Merged r0286-debugger branch into trunk 2008-06-06 18:25:59 +00:00
Richard Goedeken
44738c78b2 Removed NoAudioDelay core option to resolve issue #48. The Mupen64 v0.5 readme.pdf states that this option is not needed for Mupen64 v0.5, so I believe that it is unnecessary and can be removed 2008-06-03 03:43:00 +00:00
Richard Goedeken
88de0f7f80 bugfixes in OSD: no screenshots when OSD was disabled, adding new messages to OSD list even when OSD was disabled 2008-05-30 04:17:46 +00:00
Richard Goedeken
962a58f6ff A few OSD changes: disable OSD with option --noosd, replaced font with Bitstream Vera sans-serif font, used slightly smaller font size which is now also proportional to screen size. Tested with 640x480 and 1280x960 2008-05-28 03:53:32 +00:00
Scott Knauert
b865e7ae9a Merged Gtk toolbar style and spacing bugfix from rcs branch upon developer request. 2008-05-21 19:57:30 +00:00
Richard Goedeken
85b700e9cb Moved osd.cpp from main/ into opengl/, moved screenshot code from main.c into opengl/screenshot.cpp, refactored screenshot mechanism to grab screenshots without the OSD overlay 2008-05-18 20:54:10 +00:00
Richard Goedeken
12842f44b8 New feature: On Screen Display. Merged branch r0261-OSD-ebenblues up until rev 450 into trunk 2008-05-16 04:46:48 +00:00
Louai Al-Khanji
ee14adc137 Fix KDE4 stuff. qt4-config not yet compiled automatically. glN64 still
broken. First time this works for me.
2008-05-15 22:19:07 +00:00
Richard Goedeken
6bf7e41411 Reverted commit 434 in trunk - invalid double pointer passing to calculateMD5, no console output while loading ROMs, too slow. Please fix and commit to RCS branch 2008-05-14 04:28:42 +00:00
Scott Gorman
0051c4e170 Uses MD5 to find the entry in the database. 2008-05-14 03:53:57 +00:00
John Chadwick
cd8a9065bd Added "NoMemoryExpansion" and corresponding checkbox
Made CPU Core Settings section just "Emulation Settings" because many settings on that section are not related to the CPU Core
2008-05-13 22:50:36 +00:00
Scott Knauert
455a2c2234 Second attempt to fix gzip bug, reverting while loop. 2008-05-11 19:54:51 +00:00
Scott Knauert
845c7df829 More pedantic while loop, attempt to fix gzip size error. 2008-05-11 19:38:29 +00:00
Scott Knauert
52629d2a8f Corrected some variable errors, attempt at fixing fill_header() crash
on 64-bit systems.
2008-05-11 18:54:05 +00:00
Scott Knauert
403596ffbd Make formatting neater in console output. (minor) 2008-05-11 10:42:14 +00:00
Scott Knauert
eb8755b000 Overhaul of rom handling functions.
- Calculating MD5 in Gtk GUI rom properties dialogue now works.
- Gtk GUI open rom filter now  has .z64, .v64, and .n64 extensions.
- Rom file decompression handled at single point (as opposed to 
2-3) to prevent duplication of code and make adding 7zip support easier.
- General code cleanup, renaming / comments, etc.

Testing done:
- Tested .zipped (singe and multifile archives), .gzipped, and 
uncompressed .z64 amd .v64 roms.
2008-05-11 08:20:37 +00:00
Scott Knauert
478a26518a Polished cheat GUI, general code cleanup, fixed a Gtk warning. 2008-05-09 01:09:42 +00:00
Scott Knauert
1eff426fe1 Savestate overhaul complete, messages when saving or loading, size_t / int type abuse fixed, general cleanup. 2008-05-08 00:48:13 +00:00
Scott Knauert
bef4ea9b63 - Further cleanup of savestate code.
- Now traps slot changes from core.
2008-05-07 16:50:19 +00:00
Scott Knauert
66620a6331 Changes:
- Cleaned up Gtk GUI emulation menu.
- Added accelerator group for non-meta accelerators so the don't  
interfere with entries (like the filter)
- Added savestate_get_filename() helper function. 
- Changing the savestate in the Gtk GUI is relayed to the user via the 
statusbar.
2008-05-07 09:22:29 +00:00
Jesse Dean
4a0ae5000f Resubmitting fixes to debugger. 2008-04-30 23:34:47 +00:00
James Hood
1496911600 gui_parseArgs was changed to gui_init in r213. Updated kde4 gui code. 2008-04-28 06:44:55 +00:00
James Hood
53b40c8cd5 -cleaned up save state autoincrement feature.
-added joystick mapping support for incrementing the save state slot.
2008-04-26 00:57:37 +00:00
James Hood
a6199536e4 Made the following changes to gtk gui menu for save slots (see issue 35 for details):
-Renamed menu to "Current save slot"
 -When save slot menu is opened, gui checks the current save slot and makes sure the selected slot in the menu matches it.
 -Removed "Default" slot option and replaced with slot 0. Slot 0 is the default on mupen64plus startup.
2008-04-25 21:38:36 +00:00
James Hood
2ead0b2a03 converted emulator playback speed printf's to info_message calls so they don't clutter up the console 2008-04-24 19:53:31 +00:00
James Hood
666a1a2ae9 Removed code that resets selected tab of config dialog everytime it's shown. This change was made due to user request. 2008-04-24 15:20:17 +00:00
James Hood
ef14c2cabd Added cheat system support such that if a cheat is disabled during gameplay, the original memory values before the cheat was applied will be written back to memory to attempt to reverse the cheat.
For example, before this fix, if you enabled the "Mario flies without wingcap" cheat during gameplay, it would work, but if you then disabled it during gameplay, Mario would still be able to fly. Now it correctly restores the old memory values so Mario can't fly anymore after you disable the cheat. Note, because cheats are basically writing to a random area of memory, this function may not always restore the previous state depending on the way that area of memory is used by the game.
2008-04-24 07:40:31 +00:00
James Hood
d223e7530d Made cheat dialog prettier, i.e., used table layout widget to line up form widgets more neatly. 2008-04-24 05:50:20 +00:00