Commit graph

43 commits

Author SHA1 Message Date
Scott Knauert
eeefaacffb Commit Richard's crc fix. 2008-10-13 01:46:57 +00:00
Scott Knauert
596205c94f Fix issues 161. 2008-10-11 22:49:54 +00:00
Scott Knauert
777c6f9c1f Fix __LINE__ macro is of type %d no %c in fprintf error. Also implemented Qt4-like start / pause / stop button behavior in Gtk2 GUI. 2008-10-05 23:00:45 +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
acfef370c1 Fixed accidental rcs bug. Some new comments for rom.h and fixed Fullscreen crashing on the Qt4 GUI. 2008-10-02 21:15:17 +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
fb4fb17f35 Save cache every X roms, fixed rebuiling from incomplete cache. snprintf with source and desination buffers the same not safe on all platforms, put back strncat code (fixes minor issue on OSX). 2008-09-21 19:47:27 +00:00
Scott Knauert
6cef67e666 Fixed rcs dirname() dependence, minor snprintf bug, moved ricevideo to default plugin list as it now compiles fine on OSX. 2008-09-18 00:15:40 +00:00
Louai Al-Khanji
38dbfe7813 Fix a few win32 things 2008-09-17 16:39:58 +00:00
Scott Knauert
b220e03ba7 Minor rcs default snprint bug fixed. 2008-09-16 12:30:26 +00:00
Scott Knauert
ba8a21e54f snprintf() / dirname() fix in romcache.c. Changed strncats to snprintfs to avoid possible lack of NULL termination. 2008-09-12 00:17:23 +00:00
Scott Knauert
32ea126717 Minor Gtk GUI fixes, pre.mk fixes for RSP Qt4 GUI. 2008-09-11 03:01:58 +00:00
Scott Knauert
b817627768 Code style changes for rcs thread. Minor Gtk GUI fixes, better handling of transient dialog icon themeing. 2008-09-09 18:28:53 +00:00
Scott Knauert
004980e813 Fixed a number of -Wall warnings, fixed memory leak which was due to freeing the variables giving seg fault previously. Fixed lack of deletion if rom is removed from filesystem durring rescan. 2008-09-09 12:18:29 +00:00
Scott Knauert
41640e3c54 Fixed issue 140, we can now delete roms from the rombrowser in both GUIs. Minor rcs code cleanup. Gtk GUI bugs, fixed memory leak / toggling full path crash issue. Child windows no longer have position memory, follow UI convention of snapping to center of main window. 2008-09-09 07:20:38 +00:00
Scott Knauert
a8f52ca62b More Gtk GUI fixes. Finished transitioning to Gtk icon theme. Themable empty status stars. Minor UI additions to address issue 141. More removal of depreciated gtk functions. Fixed a number of minor bugs. First stab at better debugger GUI integration, strncpy fixes. Minor GUI API change from updaterombrowser() to update_rombroswer(). 2008-09-08 11:13:02 +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
Louai Al-Khanji
1e0b7d3f90 Fix off by one error. 2008-09-01 19:58:18 +00:00
Louai Al-Khanji
10709ef7c6 Fix up various things that broke in the merge. 2008-09-01 14:55:44 +00:00
Louai Al-Khanji
75f324cfc6 Merge win32 branch 2008-09-01 12:44:16 +00:00
Scott Knauert
1d97583d03 .ini update and minor rcs bugfix. 2008-08-25 22:15:23 +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
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
Scott Knauert
f5018bca8a Improved comments for RCS and rom loading. 2008-07-15 15:20:17 +00:00
Scott Knauert
8ce2d351ad Added simple rcs pausing 2008-07-14 03:27:19 +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
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
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
Scott Knauert
53bef26d5a Multifile zip support. 2008-06-27 10:59:33 +00:00
Scott Knauert
9bfee62452 Modularized cache entry filling to function fill_entry(), this will allow looping over roms inside an archive. 2008-06-27 10:09:39 +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
Richard Goedeken
eaa7093f42 reverted commit 677, which introduced a bug which causes very bad things to happen if you run the same game twice. I suspect this is related to the g_MemHasBeenBSwapped mechanism which was removed in this commit, but there were too many changes to pinpoint the exact cause 2008-06-26 01:10:56 +00:00
Scott Knauert
d607893707 Tied rcs messages with new main_messaging system. Fixed longstanding rcs Gtk GUI bug (cannot load rom via play button), added multifile zip support, cleaned up rom loading functions. 2008-06-25 19:48:49 +00:00
Scott Knauert
b39789413d Minor changes to how GUI=NONE is built, mainly to strip out unneeded RCS code. Also since info_message is not needed (and ideally its friends will be phased out too) removed that and the no-op gui functions in guifuncs.c since its confusing and hacky when working in main. 2008-06-23 11:15:04 +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
Scott Knauert
35046d1519 LZMA support. 2008-06-21 03:25:10 +00:00
Scott Knauert
8eb672f7d4 Moved mupen64plus.ini to installdir since its not user edittable. 2008-06-20 08:12:30 +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
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