Scott Knauert
eb24074f76
Fixes issue 162. Windows snprintf requires the NULL despite ANSI spec. Added general comment to issue 109.
2008-10-12 04:42:50 +00:00
Scott Knauert
5699d47fb4
Minor fixes for util.c. Possible fix for issue 162.
2008-10-11 22:29:47 +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
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
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
Richard Goedeken
e1c19292b6
fixed small logical error in strcpy loop in util.c
2008-07-22 03:34:30 +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
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
685f42a28e
Rough 7zip support.
2008-06-30 01:13:04 +00:00
Richard Goedeken
ebb6fb2ed4
added function prototype for strnstrip to util.h. This was causing a crash on 64-bit machines
2008-06-23 03:42:45 +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
Scott Knauert
35046d1519
LZMA support.
2008-06-21 03:25:10 +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
c1de297dd3
fix from Tub for free() bug in main/util.c/list_delete()
2008-06-17 14:19:23 +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
Richard Goedeken
7be0f6a771
simplified screenshot naming code. change spaces to underscores instead of removing. fixed bug
2008-04-23 13:30:58 +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
Scott Gorman
a0b5b1b830
added a lowercase function. changes a string to lowercase.
...
stub: void lowercase(char string[]);
modified the screenshot function to use the roms header (without spaces, and converted to lowercase) name:
example: supermario64_001.png
2008-04-23 06:05:55 +00:00
James Hood
2baec5c8eb
Added cheat menu and implemented dialog to enable/disable cheats during gameplay. This dialog does not allow you to add/edit cheats. That's coming soon.
2008-04-14 19:32:07 +00:00
James Hood
13bc1f9744
D'oh, my last implementation of GS Button didn't work because of how SDL handles keyup events. I had to change the implementation. Now there's a function in cheat.c that will allow you to query whether the GS button is pressed or not.
2008-04-09 20:33:20 +00:00
James Hood
0165af30c5
-Added global variable representing whether the Gameshark button is pressed or not.
...
-Added 'g' shortcut key that will act as the Gameshark button.
-Added user ability to map a joystick button to the Gameshark button.
Note, I did not add support for the Gameshark button to the emulator core yet, so cheats triggered by the GS button will not work until that's done.
2008-04-09 17:11:00 +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
dd00ce7987
-Added support for mapping emulator special functions (fullscreen, stop emulation, etc) to joystick buttons or axis movements.
...
-Added new tab to configuration dialog for user to create mappings.
-Minor fix: Reset configuration dialog to have first tab selected everytime it's shown.
2008-04-03 22:07:45 +00:00
James Hood
bc2b36edeb
bugfix: copyfile function in util.c was leaving 'ÿ' at the end of every copied file.
2008-03-17 07:19:34 +00:00
Richard Goedeken
cf8b8ca208
Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254
2008-03-15 14:33:00 +00:00