Scott Knauert
1ba65b8a4d
Add status support to rom loading function for .zipped roms. Should Fix issue 163.
2008-10-12 07:53:51 +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
9c0cdf8b8e
Going back to the older Gtk2 gui_message with a minor bug fix.
2008-10-05 22:37:39 +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
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
61d4912ab9
Start of Rice GUI cleanup. Removed lack of non assembly byteswapping function fallback causing issues on non-x86 platforms.
2008-09-22 05:44:55 +00:00
Louai Al-Khanji
75f324cfc6
Merge win32 branch
2008-09-01 12:44:16 +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
f5018bca8a
Improved comments for RCS and rom loading.
2008-07-15 15:20:17 +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
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
44bb98d785
remove brackets around single conditional clauses (except romcache.*)
2008-07-01 03:33:05 +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
Scott Knauert
d0d198131f
Reverted a poor formating choice change. Fixed case of referenced MD5 or CRC but NULL goodname (would cause seg fault). Technically this should never happen but can if .ini is corrupt.
2008-06-26 21:10:22 +00:00
Scott Knauert
990d14f8fc
Changed open_rom() API. Updated its use in main and the Gtk GUI accordingly. Removed Gtk GUI title change to previous - rom internal name when loading via the file chooser since its silly and we don't do it when loading roms other ways. Moved open_rom() and close_rom() to rom.c and cleaned up the merged open_rom()/rom_read() function consolidating code, fixing a seg fault when the .ini couldn't assign a goodname to the loading rom.
2008-06-26 21:02:53 +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
91efd5b04b
Added basic view menu (Toolbar, Filter, Statusbar) fixing Issue 88, also integrated view menu into config system. Haven't integrated the Debugger or VCR menus into it yet, would like to discuss on the best way to do so. Made the rom properties dialogue look nicer and be able to fit on 800x600 screens. Integrated rombrowser columns into config system so one can set which columns are viewable and those selected columns will show up the same way when the emulator is restarted. Ideally we'd also track the order of the columns, but Gtk does not seem to be able to do that. Also changed the way column names are provided as to ease future translation efforts.
2008-06-22 12:19:10 +00:00
Richard Goedeken
9cda3e9d69
dont launch rom cache thread when emulator is in nogui mode. Fixed null pointer access in rom.c
2008-06-22 04:21:55 +00:00
Scott Knauert
35046d1519
LZMA support.
2008-06-21 03:25:10 +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
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
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
James Hood
16a274adb6
-Rewrote cheat dialog to handle add/edit and enable of cheats all in one dialog.
...
-Removed Cheat menu and replaced it with "Cheats..." menu item in the Options menu.
-Modified alert_message and confirm_message so they handle line wrap of the message internally, so now it's no longer necessary to insert newline chars into strings passed to alert_message and confirm_message.
-added list_find_node utility function to util.c.
-added utility functions to create/delete cheat structures for use by the gui.
2008-04-23 06:46:47 +00:00
Richard Goedeken
9f10d202be
Reverted all changes on trunk from rev 189. The reason why I made a branch was so that you would not commit these things on the trunk.
2008-04-14 11:29:15 +00:00
John Chadwick
ec8445cc55
Attempt 3 at commiting the patches.
...
THIS PATCH IS PRELIMINARY AND DOES NOT WORK.
It also needs some major cleanup and most plugins are not yet compiling. Going to need any help I can get here, but I'll be working on it.
2008-04-14 04:37:57 +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
James Hood
68c30bb464
Don't print "Info: Loading Rom: XX%" 100 times
2008-03-19 06:39:57 +00:00
James Hood
58773a915a
-bugfix: newlines in Catalan translation file were causing problems with that translation.
...
-Readded --noask functionality (it was lost during gui/nogui merge).
-Added config dialog checkbox to toggle noask setting.
-Fixed problem with too many dialog windows when loading a bad dump or hacked rom.
2008-03-19 01:29:19 +00:00
Richard Goedeken
cf8b8ca208
Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254
2008-03-15 14:33:00 +00:00