Commit Graph

1751 Commits

Author SHA1 Message Date
Jake.Stine d6f9462ffa Added some more convenience operators for wx interface construction. These are intended as a substitute for wxSizerFlags(), like so:
*target += control | wxSizerFlags().Expand().Centre()
// becomes:
*target += control | pxExpand | pxCentre;

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2227 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-20 03:26:10 +00:00
Jake.Stine 08f67ebdee thought 'inline' would be unnecessary with the removal of 'static' on the main template prototypes. I was wrong. But hey, what do you expect from the C++ standards committee, who's "issues" forum is a single huge 1mb html file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2226 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-19 14:21:26 +00:00
Jake.Stine 4aa0ebe892 Apply proper qualifier use for operator+= templates and their specializations.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2225 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-19 13:44:44 +00:00
arcum42 b11dab02ef Slap a patch on things so Linux and Windows work till it can be looked at.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2224 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-19 12:45:11 +00:00
arcum42 4dc978f70a A few more minor changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2223 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-19 08:48:15 +00:00
arcum42 0aae87e8fd Various minor fixes. Corrected a few misspellings, fixed a console message or two, and got Linux to compile again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2222 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-19 05:55:54 +00:00
Jake.Stine 4ba3fd07dc * Speedhacks master toggle saves now.
DevStuff:
 * Added a handful of operator+= overloads for working with wxSizers -- moderately reduces code clutter. :)
 * Commented some of the wxHelpers classes (pxStaticText, wxPanelWithHelpers, etc).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2221 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-19 05:08:24 +00:00
arcum42 787d39c8bc Lets use boolean return values in a few places in the iso code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2220 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-19 03:09:19 +00:00
arcum42 cebefa6130 Fix iso loading.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2219 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-19 02:39:29 +00:00
arcum42 91113d5e9a Remove some old files from the codeblocks project.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2218 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-19 02:02:40 +00:00
Jake.Stine 1dced84153 Linux compilation fixes and fix some signed/unsigned stuff in IsoReader.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2217 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-18 16:53:44 +00:00
ramapcsx2 0f22852602 Fix the speedhack panel.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2216 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-18 13:59:49 +00:00
ramapcsx2 d8c495b064 SPU2-X:
- Set the "latency" slider adjustment resolution to 1, so it's actually possible to set the value the user wants.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2215 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-18 08:52:06 +00:00
Jake.Stine 98605ea279 Cleanup from earlier commit -- forgot to remove some obsoleted sizer code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2214 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-18 08:14:40 +00:00
Jake.Stine 2709f3c29c GSdx/SPU2-X: Perform SSE checks before entering Configuration dialog (prevents crashes on non-SSE2 machines)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2213 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-18 08:13:28 +00:00
Jake.Stine 4f9cd96e50 * Added a 'master' toggle to the Speedhacks panel.
* ... more WIP stuff on the Video options panel.
 * Spent 12 hrs working on crap text wrapping and window sizing issues.
 * Moved several UI classes to utilities (lots of project changes, breaks linux)
 * Fixed stilly bug in SPU2-X that prevented it from working (at all).
 * Lots of code cleanups, and 1 or 2 bugfixes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2212 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-18 07:53:02 +00:00
arcum42 0cac04b028 Fix the definition of VERSION in ZeroSpu2 and OnePad.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2211 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-17 22:24:20 +00:00
arcum42 6632e5d108 A bunch of Codeblocks project changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2210 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-17 13:50:37 +00:00
Jake.Stine df6a3e3d55 MSVC: Added missing dependency build order settings for SPU2-X
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2209 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-17 03:05:30 +00:00
arcum42 2d46db3d04 Bring back color to stdio on Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2208 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 21:21:59 +00:00
Jake.Stine c942e3aaca * Implemented more support for on-the-fly CDVD source changes (not well tested, probably need work).
* Fix Reelease mode compilation errors. 
 * More misc bugfixes to the UI.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2207 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 17:14:10 +00:00
arcum42 4ab6a9846e Quick fix on the last commit for Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2206 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 14:08:53 +00:00
Jake.Stine af7bb73948 Fixed the Recent Iso List, which got broken a few revs back... and many more wee bug fixes, most are too unimportant to list here!!
Code Cleanups:
 * cpuDetect: Split Win32/Linux code portions into separate modules. (probably breaks linux)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2205 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 13:54:32 +00:00
Jake.Stine b40dd9253d w32pthreads: Remove macro redefinition of __except (it was a nasty and entirely unnecessary hack intending to protect idiot coders from their own failure to comply to very strict SEH exception handling rules).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2204 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 13:51:22 +00:00
arcum42 68c0e16ac0 Hack Hw.h in half and do a bit more header cleanup. Remove a header that's unused.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2203 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 13:49:56 +00:00
Jake.Stine 40ed711445 SPU2-X: Implemented SPU2test - it now reports an error and returns failure on CPUs not supporting SSE2.
DevNote: SPU2-X now links against w32pthreads and x86emitter.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2202 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 13:14:02 +00:00
Jake.Stine a341a47f1f wxWidgets/Win32: Added tooltip duration override of 10 seconds, so the tooltips stay visible long enough to finish reading them.
For the curious: tooltip duration defaults to a function of your configured mouse doubleclick rate, which happens to be something a lot of us users probably set to something pretty fast or really fast, to avoid accidental double clicks (mine's like 1 or 2 notches away from the fastest setting).  So my tooltips only stayed visible for like 2 seconds. >_<

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2201 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 03:27:05 +00:00
Jake.Stine 0068ec9cd0 Removed NULL-able DoWrite/DoWriteLn in IConsoleWriter (threaded logging crashed when changing writers on the fly).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2200 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 03:23:59 +00:00
Jake.Stine dd0b49e80d Lots of wee bugfixes to user interface stuffs
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2199 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 00:40:09 +00:00
Jake.Stine a4baab103f Mode console logging updates and additions;
* Added support for indentation, as a replacement for using \t  (options include methods SetIndent and Indent, and a ConsoleIndentScope class for scoped indentation of a block of WriteLns.)
 * Use of Indent() as a modifier (the abstraction optionally allows use of indentation methods besides \t, if ever needed).
 * Minor header file cleanups: wxWidgets standard headers are now always first in PrecompiledHeader.h files (is recommended due to cross platform setup code by wx).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2198 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-15 06:26:55 +00:00
arcum42 ba37f31849 Trim and tweak a bunch of includes, and a few headers.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2197 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-14 12:02:56 +00:00
arcum42 7c0d91ce86 Fix up Linux, as well as make a few minor changes to onepad.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2196 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-14 09:02:10 +00:00
Jake.Stine 848269fc22 Added pxRadioPanel, a nifty all-thrills container for radio button groups. Removed AddRadioButton. Moved SizerFlags and other wxHelpers to Utilities class (optionally accessible by plugins).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2195 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-14 08:36:57 +00:00
arcum42 1db79d7eea Remove the MPEG hack; Mana Khemia no longer needs it, as of the voodoo cycle fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2194 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-13 10:53:26 +00:00
arcum42 9380a492b0 Some header cleanup.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2193 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-13 04:36:01 +00:00
arcum42 4f6fab781b Expand the color list a bit, muck with the Linux color console code, and change a few ifs to a case statement.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2192 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-12 14:52:29 +00:00
arcum42 137f0da055 Add 'Print CDVD Info' back in. In Linux, make writing to stdio optional. Make a few log messages grey. A few misc things.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2191 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-12 12:51:00 +00:00
ramapcsx2 4ac00ea969 GSdx:
Gave up on the smart m_width / m_height adjustments for now. This just won't work the way I imagined it :/
Using a "common" size of 640*512 instead. This means some odd games might use a wrong output surface again (they always did this on the normal upscaler).


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2190 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-12 09:50:05 +00:00
arcum42 01231c1fa5 Update the codeblock project.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2189 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-12 02:46:06 +00:00
Jake.Stine 0dfa9a586e Implemented new pxCheckBox into the rest of the gui components.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2188 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-11 14:08:42 +00:00
Jake.Stine b755069217 Finished the new logging options dialog (loads and saves settings (!))
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2187 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-11 11:36:13 +00:00
ramapcsx2 bcba091cf3 Patches don't need to go, they work apparently :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2185 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-11 05:55:11 +00:00
ramapcsx2 fd0386b6bf Small cleanup on the GUI. Only show the "Debug" entry on devel and debug builds, as in legacy_gui.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2184 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-11 05:25:50 +00:00
gigaherz ce31ac361c Implemented a feature which could potentially reduce the slight slowdowns present when running in windowed mode inside Aero.
Since it's late, I will leave it to the world to figure out of it really makes a difference.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2183 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-11 03:56:14 +00:00
arcum42 0f43b12d72 Should probably drink something with caffeine in it, and worry about sandwiches later.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2182 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-10 22:00:14 +00:00
Jake.Stine 2b05fa9cef Layout improvements for the Logging dialog; still not connected or saved tho
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2181 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-10 21:48:05 +00:00
arcum42 9cc890987d No more sandwiches...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2180 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-10 21:33:59 +00:00
Jake.Stine 02d431a1c1 Fixes release-mode build targets from my prev commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2179 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-10 19:09:06 +00:00
Jake.Stine 622f89577d Partial re-implementation of emulation Trace Logging. Still a work in progress. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2178 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-10 17:53:22 +00:00
ramapcsx2 e2933b8429 Disable Interrupt is now recompiled, thanks to pseudonym :p
This is a significant speedup in Suikoden 3 menu's. 
And any other obscure game that might do that a lot :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2177 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-10 17:28:15 +00:00