Commit graph

178 commits

Author SHA1 Message Date
Richard Goedeken
86524ab969 a little cleanup before the merge into trunk 2008-06-19 03:17:45 +00:00
Scott Knauert
0a4187f9be Stupid error in previous commit, wrong variable '\0' terminated. 2008-06-18 21:17:50 +00:00
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
aa9935c814 Better handling of bug. 2008-06-16 17:11:20 +00:00
Scott Knauert
592e0df7fc This might fix the bug. 2008-06-16 16:47:22 +00:00
Scott Knauert
010d1f29bf Fixed my sn length and '\0' termination errors in these files. 2008-06-14 00:03:01 +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
46a6f532ac Added ~40 GoodName 3.14 roms to ini, added CIC to cache, changed ini
format to use less space, now dynamically assign Good Name space to save 
memory.
2008-06-07 05:59:02 +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 Gorman
3f030efcea Added RCS_BUSY so if the state changes during an action, it will go to the next one. 2008-05-21 23:09:48 +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
b1832f7a19 Don't close and clear ini database until we exit. Fixes cache corruption when running roms. 2008-05-21 14:21:24 +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
e88cc2b1c2 Fix of config file issue. 2008-05-21 05:28:21 +00:00
Scott Gorman
3b1ce6e8a1 Small oversight with that last commit. 2008-05-21 02:35:47 +00:00
Scott Gorman
654608f91a Added better functioning of the RCS in regards to emulation playing/stopping, however since the job for RCS_RESCAN is incomplete, it wont do anything and RCS will stop when a rom is loaded. 2008-05-21 02:33:51 +00:00
Scott Gorman
ace54e30f2 Moved a function, this should update the Rom Browser as new roms are cached. 2008-05-21 01:59:52 +00:00
Scott Gorman
aa7d8cd1c5 Added a job list for RCS. Now this thing can be controlled from the outside to perform tasks. 2008-05-21 00:12:07 +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
9ef5d79f30 Incremental improvement, rcs now doesn't compute md5 when rom is already in cache. 2008-05-19 16:13:43 +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
9cab10bcce Incremental improvement, cache saving, loading, and clearing now work. 2008-05-17 08:30:32 +00:00
Scott Knauert
c244304d1c Incremental improvement, now saves gzipped cache. 2008-05-17 04:56:08 +00:00
Scott Knauert
c54dde7904 Incremental improvement, now actually makes global romcache as linked
list.
2008-05-17 03:43:16 +00:00
Scott Knauert
4c59527a77 More cleanups, think I figured out how to handle cache / database /
custom roms / user comments.
2008-05-16 07:12:24 +00:00
Scott Knauert
b74fbecf21 More cleanup, linked rcs to mupenini. GoodName bug eliminated if tied
back to Gtk GUI (i.e. the GUI code won't see the goodnames, but the rcs 
now does).
2008-05-16 06:47:29 +00:00
Scott Knauert
43b653d406 Compiles, GUI not moved to rcs. Ran into some speed issues.
Also, should we be using a linked list for the cahce data 
structure? Besides those two items, its all just minor 
implementation and cleanup (and free time to do so). See 
comments in romcache.c
2008-05-16 04:36:28 +00:00
Scott Knauert
ebc4d92072 Fixed branch seg fault. 2008-05-12 02:57:28 +00:00
Scott Knauert
0e16a73821 Merged rom handling changes. Seg faults. 2008-05-12 02:49:47 +00:00
Scott Gorman
63000427a2 Reworking better ways to store the romcache, I think this might compile and work... but its not implemented. 2008-05-09 04:47:39 +00:00
Scott Gorman
f07cf68a28 I'm not sure what the best way to make a cache file is, taking a break on this for now. Anyone else feel free to modify my code. 2008-05-08 23:32:54 +00:00
Scott Gorman
89eab1a97b Started the basic romcache system, incomplete, but should load. 2008-05-08 22:46:44 +00:00