Scott Knauert
|
94e853099e
|
Fix two KDE4 GUI crashing bugs (load bad ROM and user opt to close it, press Play without ROM loaded), altered makefile to only rebuild .cpp files with changes.
|
2008-07-21 01:51:39 +00:00 |
|
Richard Goedeken
|
edbee1680a
|
new feature: hit F9 for soft reset. According to N64 manuals, this is a 2-step operation: first an external HW2 interrupt fires, and 0.5 seconds later an NMI fires. Im not sure if the HW2 interrupt is proceeding properly; it will require some work with the debugger to walk through this. But the NMI correctly resets the CPU system and the game
|
2008-07-21 00:09:05 +00:00 |
|
Scott Knauert
|
5fe5231c0c
|
KDE4 GUI improvements. Fix all compiler warnings. Fix crashing when opening Gtk dialogs in plugins. Added persistant size / position from config. Changed default rombrowser selection to only launch emulation on double click (like Gtk GUI).
|
2008-07-20 22:55:42 +00:00 |
|
Scott Knauert
|
a91aba44ed
|
Additional fix for KDE4 GUI .rc.
|
2008-07-20 18:13:38 +00:00 |
|
Scott Knauert
|
d673b2a899
|
Initial fix of KDE4 GUI. It now compiles. Uses new GUI API and recieves rombrowser info from RCS. Changes to main/gui_gtk/rombrowser.c are improved comments. The KDE4 GUI still needs a lot of work.
|
2008-07-20 18:11:44 +00:00 |
|
Richard Goedeken
|
80b56a4fff
|
Merged volume changing patch from Wahrhaft, with lots of changes by Richard42. Now both SDL-based and OSS-based volume controls are supported.
|
2008-07-16 04:39:14 +00:00 |
|
Scott Knauert
|
f5018bca8a
|
Improved comments for RCS and rom loading.
|
2008-07-15 15:20:17 +00:00 |
|
Scott Knauert
|
a67da4502b
|
Fixed reload() compiler warning. Shouldn't be in header since its not a public function.
|
2008-07-14 06:45:28 +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 |
|
Richard Goedeken
|
96556138a8
|
merged in r4300 reset/execute cleanup from r0344-soft-reset branch
|
2008-07-13 02:54:50 +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
|
c9126f8ae6
|
Savestate changes: bugfix - write entire TLB, also save a magic number and a savestate version number. This breaks backward compatibility with savestates.
|
2008-07-11 03:26:24 +00:00 |
|
Richard Goedeken
|
1c5a242da3
|
Changed new AlwaysFullscreen parameter name to GuiStartFullscreen. Reworked parameter init logic so this parameter will only affect behaviour in GUI mode
|
2008-07-02 04:30:35 +00:00 |
|
James Hood
|
61a39ba35d
|
Added "Always Start in Full Screen Mode" checkbox to config dialog.
|
2008-07-01 18:04:20 +00:00 |
|
Richard Goedeken
|
c87e1fe3e3
|
fixed warning in 7zip code for 64-bit systems
|
2008-07-01 04:03:51 +00:00 |
|
Scott Knauert
|
827c42173e
|
Added newline, fixes compiler warning.
|
2008-07-01 03:55:04 +00:00 |
|
Richard Goedeken
|
44bb98d785
|
remove brackets around single conditional clauses (except romcache.*)
|
2008-07-01 03:33:05 +00:00 |
|
Richard Goedeken
|
30a1228913
|
style corrections for rev 722 - do not change C comments to C++ comments in a C file
|
2008-07-01 02:35:20 +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
|
59b84b98db
|
Added MainWindowXPosition and MainWindowYPosition so Gtk GUI remembers screen location along with sane fallbacks in case the user changes resolution.
|
2008-07-01 00:27:01 +00:00 |
|
Scott Knauert
|
b2427e1fb3
|
Fix bug when changing languages in Gtk GUI, simplify code and try to exit more cleanly.
|
2008-06-30 23:41:32 +00:00 |
|
Scott Knauert
|
9eaf6e88e5
|
Fixed compiler warning in Glide64, initialized gltexfmt, glpixfmt, glpackfmt to 0.
|
2008-06-30 19:42:03 +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 |
|
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
|
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 |
|
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
|
65de6b5d79
|
fixed OSD crash bug after running a game, disabling OSD, then running another game
|
2008-06-26 20:01:33 +00:00 |
|
Richard Goedeken
|
4bf03541d0
|
A few small changes to the new messaging code: dont use newlines in message strings, print to console even if gui is enabled, OSD pause message should be in center, print config/install dir info message to console. Small bugfix in gtk gui statusbar variable-arg code
|
2008-06-26 02:57:21 +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
|
059fcd3989
|
Fixed inability to configure plugins in GUI due to call order in main() from last commit.
|
2008-06-23 13:46:29 +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
|
b2c2462587
|
Integrated 2 icons out of 4 icons into theme which I missed, deleted 2 extra unused icons. We now actually make use of the config integration with MainWindowWidth/Height. Many Gtk GUI statusbar improvements. Implemented a unified console/GUI/OSB main_message function as per Richards suggestions. This is a little rough, I'd like suggestions to improve it and include the confirm message code.
|
2008-06-23 05:32:45 +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
|
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
|
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
|
dccd3a3041
|
Sorry for the commit SPAMing...
|
2008-06-21 03:44:34 +00:00 |
|
Scott Knauert
|
4eaed381a6
|
Simpler fix instead of previous commit.
|
2008-06-21 03:42:18 +00:00 |
|
Scott Knauert
|
6ad02b8049
|
Neater version strings.
|
2008-06-21 03:39:03 +00:00 |
|
Scott Knauert
|
35046d1519
|
LZMA support.
|
2008-06-21 03:25:10 +00:00 |
|