Commit graph

26 commits

Author SHA1 Message Date
Richard Goedeken
3a51bdf15d bugfix issue #52: merged final pj64 load state patch from olejl77. tested against provided sm64 state file, and it only works with the patch 2009-10-02 03:21:07 +00:00
Richard Goedeken
d3777167e0 bugfix issue #51: Floating Point Register data was not correctly converted when switching between 32-bit (MIPS-I) mode and 64-bit (MIPS III) modes with FR Bit in Status register. New code more closely emulates behavior of r4300 hardware. Snapshot file is always stored with FGR data in 64-bit format for backwards compatibility. Fixed big-endian bug in 64-bit FPR mode. Written by Richard Goedeken based on debugging work and patches by Sven Eckelmann. 2009-10-01 04:47:28 +00:00
Scott Knauert
41c03ae99b Applied a cleanup of olejl's 2nd PJ64 savestate patch, fixing default PJ64 save naming conventions (for use with project64 slots), added elements to allow exporting PJ64 saves from the Qt4 GUI. Issue 52 can now be closed. 2009-02-22 00:04:53 +00:00
Scott Knauert
a3b493c1e7 Added a cleanuped version of olejl's Project64 savestate export patch (effectly closes Issue 52). Since PJ64 format uses .zip compression, re-adding the compression part of minizip. Also added a Gtk GUI tie-in to let us easily export saves, as well as re-adding savestate messages to the console (why was this turned off again?) and two minor error message corrections for romcache.c. 2009-02-17 07:51:43 +00:00
olejl
5b511407f2 Fix a bug when loading a pj64 saveste. 2009-01-27 17:37:46 +00:00
Richard Goedeken
65e9212a2b Merged patch from olejl77 in issue #52, comment #12, with a few small changes 2009-01-25 13:12:03 +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
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
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
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
44bb98d785 remove brackets around single conditional clauses (except romcache.*) 2008-07-01 03:33:05 +00:00
Richard Goedeken
4bf03541d0 A few small changes to the new messaging code: dont use newlines in message strings, print to console even if gui is enabled, OSD pause message should be in center, print config/install dir info message to console. Small bugfix in gtk gui statusbar variable-arg code 2008-06-26 02:57:21 +00:00
Scott Knauert
b2c2462587 Integrated 2 icons out of 4 icons into theme which I missed, deleted 2 extra unused icons. We now actually make use of the config integration with MainWindowWidth/Height. Many Gtk GUI statusbar improvements. Implemented a unified console/GUI/OSB main_message function as per Richards suggestions. This is a little rough, I'd like suggestions to improve it and include the confirm message code. 2008-06-23 05:32:45 +00:00
Scott Knauert
ec306a5b63 Fixed eeprom issue crash for nogui version due to database RCS dependence. Set default savestate to 0. Savestate now persistent via config integration. Integrated sort column and method with config. Minor speedup to sorting. 2008-06-22 16:20:06 +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
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
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
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
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
Louai Al-Khanji
61e36c3925 Fix a header/implementation disrepancy. 2008-04-14 17:54:22 +00:00
Richard Goedeken
5f32c254fe Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
Richard Goedeken
cf8b8ca208 Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254 2008-03-15 14:33:00 +00:00