Scott Knauert
9d0940c64a
Comments for my commenting out of Slougi's plugin config calling change. Originally this was added while working on the win32 build. It interfere's with Rice's awareness that the emulator is running, and Slougi was unsure of why exactly he added it for win32. When more work is done towards win32 compatibility, this may either be ifdefed or a better solution found.
2008-11-02 08:48:32 +00:00
Scott Knauert
8049d55592
Fix race conditions and gdk threading issues that cause crashes with Rice.
...
- Only update the GUI's state after fully initializing the core in the emulation thread. This stops a race condition when plugin loading takes a long time (mostly noticable with hi-res textures on Rice).
- Exit gdk when calling core functions (core start / stop / pause - likely others will need this) since they may turn around and call GUI functions. This prevents a double locked gdk which causes a freeze.
2008-11-02 08:43:15 +00:00
Scott Knauert
bc96409829
Extra header includes and minor fixes (mainly type issues like "lX" (int)) to remove -Wall warnings from the debugger.
2008-10-31 16:58:29 +00:00
Scott Knauert
1f6142fa39
Fixed license header issue with gtk debugger by switching to our standard template. Moved licenses to /doc. Removed only demo roms and replaced with marshall's Mupen64Plus Demo rom. Need to contact him for source and to finalized licensing, planning for the rom to be GPLed.
2008-10-29 21:50:34 +00:00
Scott Knauert
eaea016270
Added stop rumble to load savestate, fixes issue 165.
2008-10-29 16:18:56 +00:00
Scott Knauert
cf11a8e6aa
No infinite error dialogs. Just a single one and sometimes crash on seg fault.
2008-10-28 02:06:12 +00:00
Scott Knauert
2ebe098c20
Implemented minor Gdk threading change. Appears to fix debugger crash on close bug.
2008-10-26 09:44:54 +00:00
Scott Knauert
eeefaacffb
Commit Richard's crc fix.
2008-10-13 01:46:57 +00:00
Scott Knauert
1d7a568b4b
Add Remove All rombrowser settings tab in Gtk GUI. Fixed minor callback bug.
2008-10-13 01:23:45 +00:00
Louai Al-Khanji
11b8ef45be
Make data function have a single exit point again.
2008-10-12 23:09:08 +00:00
Louai Al-Khanji
72b498d391
Some trivial code style changes.
2008-10-12 23:02:11 +00:00
Scott Knauert
37c8e5c42b
Fixes issue 154 (Qt4 GUI crashes if all ROMs removed).
2008-10-12 22:49:23 +00:00
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
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
596205c94f
Fix issues 161.
2008-10-11 22:49:54 +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
a8dfd0e785
License header changes for Debian inclusion (wrong FSF address).
2008-10-11 05:48:50 +00:00
Scott Knauert
347e32c7fc
Should fix inability to detect zipped roms. Bug introduced when fixing -Wall warnings in unzip library.
2008-10-11 02:30:50 +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
ce19873672
More gui_message cleanup.
2008-10-05 22:44:51 +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
Louai Al-Khanji
98d3f99fe0
Rework the gui state api a bit. Don't pass the enum through an unsigned
...
char. Changed the way the Qt4 ui handles things internally a bit.
Changed the gui_message to not use an unsigned char as well while I was
at it.
2008-10-05 15:18:59 +00:00
Scott Knauert
c53030d143
Minor Gtk toolbar tooltip fix.
2008-10-05 05:43:08 +00:00
Scott Knauert
663c3f2c13
Change how plugin combos are toggled in the Gtk GUI to update on state change.
2008-10-05 05:41:00 +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
acfef370c1
Fixed accidental rcs bug. Some new comments for rom.h and fixed Fullscreen crashing on the Qt4 GUI.
2008-10-02 21:15:17 +00:00
Richard Goedeken
0a1b86cf64
added ctype.h include for toupper()/tolower() functions
2008-09-29 20:04:18 +00:00
Richard Goedeken
210f946cae
added newlines to the end of every source file which was missing one
2008-09-27 15:22:21 +00:00
Scott Knauert
a39df3aa94
Fix lack of newline breakage. Sorry about that, gcc 4.3 doesn't give those warnings even on -Wall. One -Wall fix, and remove hardcoded 1024 PATH_MAX to use limits.h. Also re-added rice hard gtk dependency.
2008-09-26 19:08:12 +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
32a2ca13f9
A variety of Gtk GUI fixes. Some corner case bugs found by (and general cleanup to allow for) compiling with -Wall, also minor logic fix to improve UI and close issue 141.
2008-09-25 21:43:03 +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
Scott Knauert
fb4fb17f35
Save cache every X roms, fixed rebuiling from incomplete cache. snprintf with source and desination buffers the same not safe on all platforms, put back strncat code (fixes minor issue on OSX).
2008-09-21 19:47:27 +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
Louai Al-Khanji
38dbfe7813
Fix a few win32 things
2008-09-17 16:39:58 +00:00
Louai Al-Khanji
fd0464af60
Another attempt to fix compilation on windows
2008-09-17 16:32:05 +00:00
Louai Al-Khanji
8a48dfbfb4
Possibly fix compile errors on windows
2008-09-17 16:28:20 +00:00
Scott Knauert
b220e03ba7
Minor rcs default snprint bug fixed.
2008-09-16 12:30:26 +00:00
Scott Knauert
1bd211aa06
First stab at themable Gtk icons for plugins. Extended plugin API with EXPORT void CALL SetInstallDir(char* installDir) based on the config dir work we had done. Modified core to send the install dir. Modified Rice to accept (since glide64 and rice share the same dialog system and we want to remove the windows icons from glide64), checks for a Gtk icon theme and hook into the theme change (does do transient dialog icon changes like the core, yet). Feel free to revert or offer other suggestions as to how best handle this.
2008-09-12 05:46:45 +00:00
Scott Knauert
ba8a21e54f
snprintf() / dirname() fix in romcache.c. Changed strncats to snprintfs to avoid possible lack of NULL termination.
2008-09-12 00:17:23 +00:00
Scott Knauert
32ea126717
Minor Gtk GUI fixes, pre.mk fixes for RSP Qt4 GUI.
2008-09-11 03:01:58 +00:00
Richard Goedeken
dc8c6e83ae
new r4300 disassembler from ZZT32
2008-09-10 12:04:22 +00:00
Scott Knauert
b817627768
Code style changes for rcs thread. Minor Gtk GUI fixes, better handling of transient dialog icon themeing.
2008-09-09 18:28:53 +00:00
Scott Knauert
004980e813
Fixed a number of -Wall warnings, fixed memory leak which was due to freeing the variables giving seg fault previously. Fixed lack of deletion if rom is removed from filesystem durring rescan.
2008-09-09 12:18:29 +00:00
Scott Knauert
41640e3c54
Fixed issue 140, we can now delete roms from the rombrowser in both GUIs. Minor rcs code cleanup. Gtk GUI bugs, fixed memory leak / toggling full path crash issue. Child windows no longer have position memory, follow UI convention of snapping to center of main window.
2008-09-09 07:20:38 +00:00
Louai Al-Khanji
5563e5e610
Fix a few warnings
2008-09-08 23:25:53 +00:00
Louai Al-Khanji
4a2c71a9ec
Add reset button to config dialog. Restore Defaults button still
...
missing.
2008-09-08 23:00:47 +00:00
Louai Al-Khanji
a06e9c517a
Draw focus in ratings column
2008-09-08 22:23:28 +00:00
Scott Knauert
63c4248bb1
Remove XID passing code accitendly commited as gdkx.h breaks portability.
2008-09-08 21:51:20 +00:00