Commit graph

82 commits

Author SHA1 Message Date
Scott Knauert
5e0d4987ef Added Xena and Mario to .ini, hopefully fixed a potential crash, added rombrowser refresh when changing languages. 2008-06-18 21:07:04 +00:00
Richard Goedeken
ea3a348fb9 fix for NULL pointers in strcasecmp() calls from rombrowser_compare function 2008-06-17 04:47:11 +00:00
Scott Knauert
600ba249a2 RCS finished and ready for merge! Gtk Gui frontend interaction nicer, .ini updated with all Eeprom 16KB entries. We still need to get the .ini complete, but I feel that it will be easier if its in trunk. 2008-06-13 00:21:51 +00:00
Scott Knauert
d79dc60abf Fixed seg fault bug introduced in prior commit. Sorry. 2008-06-10 11:07:28 +00:00
Scott Knauert
fafebeae91 Okay, besides the ini and some better frontend / backend integration, RCS is basically done. Re-added proper filter shortened code path, added smarter user comment edits that are less resource intensive, implemented refmd5s, and cleaned up a lot of code. 2008-06-10 08:44:11 +00:00
Scott Knauert
fbd2906e15 Romproperties updated, Gtk errror fixed, now shows RCS info. 2008-06-09 07:05:57 +00:00
Scott Knauert
24bb921690 Gtk GUI updated for RCS. Please help flush out the .ini! 2008-06-08 23:13:22 +00:00
Scott Knauert
87db40b984 RCS backend nearing completion. Switched to much more efficient
storage and search scheme.
2008-06-06 05:38:48 +00:00
Scott Knauert
b645f0a1de Cleaned up Internal Name code. Added shortcut Gtk GUI codepaths to speed
up common operations and decrease memory usage.
2008-05-31 20:53:14 +00:00
Scott Knauert
6830f04a17 Save of WIP. Added support for Internal Name (extremely messly), cleaned up rcs CIC detection, so
its faster and uses less memory. Added initial Status support.
2008-05-31 08:02:22 +00:00
Scott Knauert
146f267fcd Issue 93, I hope svn handles the new files correctly. 2008-05-29 01:34:46 +00:00
Scott Knauert
4b8251867c Added MD5 Hash and CIC Chip to rombrowser, fixed breakage from previous commit.
Valgrind says memory leak is fixed in Gtk GUI filtering and sorting. Ideally a
faster approach to filtering / sorting could be found.
2008-05-27 07:46:16 +00:00
Scott Knauert
999ac10c0a Determined memory leak seen when testing rcs is in Gtk GUI, sepcifically the sorting and filtering functions.
Lowered memory loss. Rombrowser still leaks and is too slow with many ~3600 entries.
2008-05-26 05:59:56 +00:00
Scott Knauert
7727414294 Work in progress of Issue 93 fix, rcs extension of Gtk GUI rombrowser, CIC chip
detection, and more. Needs a make clean && make since structures were changed.
2008-05-25 18:03:36 +00:00
Scott Knauert
0ae3406d5c Fixed minor issue with comments. 2008-05-22 04:14:30 +00:00
Scott Knauert
6539663e8b Code cleanup, more malloc checks, comments implemented through rcs. 2008-05-22 04:10:53 +00:00
Scott Knauert
bbfb458bac Fixed seg fault, config file corruption, and automatic rombrowser refresh when
config is changed. (Could be done more intelligently).
2008-05-22 01:48:33 +00:00
Scott Knauert
4771d8523b Started cleanup of mupeniniapi database functions for move to rcs. 2008-05-21 23:04:35 +00:00
Scott Knauert
4aabeba63b Second attempt to fix cache file issue, made a number of Gtk improvements. 2008-05-21 12:02:48 +00:00
Scott Knauert
2e364537dc Integrated rcs with config system, and added user comment field. 2008-05-20 05:36:07 +00:00
Scott Knauert
e0fdc33888 Moved functions around to better places. 2008-05-19 22:44:27 +00:00
Scott Knauert
53dfa6e28e Incremental improvement, Gtk GUI romproperties updated to work with rcs. 2008-05-19 17:26:45 +00:00
Scott Knauert
052d688099 Cleanup. 2008-05-19 15:40:58 +00:00
Scott Knauert
754289272d Rough integration of rcs and Gtk GUI. 2008-05-19 08:42:29 +00:00
Scott Gorman
f1944a2cd6 Huge change, but since it doesn't work... it needs to be fixed. but my concept might be good. 2008-05-19 00:48:43 +00:00
Scott Knauert
0e16a73821 Merged rom handling changes. Seg faults. 2008-05-12 02:49:47 +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
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
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
James Hood
ed946013f6 -Removed install of doc/readme.pdf from install.sh since it no longer exists.
-Updated keyboard key for pause emulation from 'P' to "Pause" in the controller hotkey mapping dialog.
2008-04-24 05:18:33 +00:00
Richard Goedeken
47623cc7e6 reverted changes in 287 because debugger has a branch 2008-04-23 12:29:16 +00:00
Jesse Dean
e2fb5b7dd2 Initial cleanup of debugger & gtk gui code to allow use of DBG=1 flag. Code now compiles, and debugger shows up,
although at this time it does little else, and does prevent emulation from running properly.  --Jes
2008-04-23 11:25:24 +00:00
Scott Knauert
51047378fb Added USA/Japan flag. Icon was included with mupen, but
not used. 1080 Snowboarding is an example of this ROM 
type.
2008-04-23 10:28:25 +00:00
Scott Gorman
f653d8fb47 Whitespacing issues. 2008-04-23 07:07:20 +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 Knauert
1e1e2d7265 Fixed the pointer bug which caused the Gtk GUI flag error. 2008-04-22 22:19:14 +00:00
James Hood
605a4a02b1 Changed pause/continue keyboard shortcut to Pause/Break key because the previous shortcut 'p' was conflicting with the new rom filter. 2008-04-22 20:49:45 +00:00
James Hood
658b341eb6 Changed rom browser filter so it filters as the user types instead of requiring them to press enter. I think this is a more modern approach, but I don't have a lot of roms, so someone who does should probably try it out to make sure it doesn't cause performance issues. 2008-04-22 15:01:12 +00:00
Scott Knauert
c456b9bfc1 Fixed a collision from variable rename. 2008-04-22 13:57:05 +00:00
Scott Knauert
cd92cf9f9a Gtk GUI filter and improved sorting functions. 2008-04-22 13:10:42 +00:00
Scott Knauert
e984cab71a Removed second status bar which was not used (even in 0.5)
as it caused two Gtk resize handles to be drawn on the 
main window. Left in framework for multiple status bars
in case we actually want to use this in the future.
2008-04-20 22:51:23 +00:00
Scott Knauert
4f87fa787f Minor update to the ROM Properties dialogue. Minor
GUI style corrections. Made hitting enter in the comments 
dialogue apply the changes. Partially fixes Issue 66.
2008-04-20 20:33:20 +00:00
James Hood
d37739f761 Fixed segfault introduced by r244. Segfault would happen if you start mupen64plus, press the play button without selecting any roms in the rombrowser. When the dialog pops up asking if you want to load a rom, select yes and select a rom via the file chooser and click open. 2008-04-20 15:24:54 +00:00
Scott Knauert
f272302d26 Fixed Issue 6, if a ROM is selected in the ROM browser and
the 'play' is pressed, emulation will start if mupen can 
load the ROM.
2008-04-20 09:28:49 +00:00