Commit Graph

2626 Commits

Author SHA1 Message Date
Jake.Stine df3bda9183 * Bugfixed some popup dialogs, which would sometimes be too small or empty.
* Various small cleanups to emitters and microVU's regalloc code (no functional changes)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3162 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 04:07:58 +00:00
Jake.Stine b7c9aa63cd GSdx: Fix an unfriendly crash when trying to create a device on a machine that only supports DX9 when DX10/11 is configured (Think temporary downgrading your video card, and then running PCSX2).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3161 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 04:06:24 +00:00
arcum42 18f7132e89 Have I ever mentioned how much I hate getting templates to work on both Windows and Linux?
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3160 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 23:39:34 +00:00
arcum42 da636827f1 Get Linux compiling again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3159 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 23:07:46 +00:00
Jake.Stine a7bb875e18 x86emitter: removed implicit pointer dereferencing on 'indirect' operand types, and implicit uptr addressing on ptr[]; avoids some obscure pitfalls and might speed up release mode builds (LTCG).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3158 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 22:27:06 +00:00
arcum42 492488a15d onepad: Commit some work in progress on onepad's gui. (Currently disabled, because I haven't hooked anything up yet.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3157 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 22:12:37 +00:00
gregory.hainaut 86a7a85b99 [cmake]
* Add missing file
* Use a default option for FORCE_INTERNAL_SOUNDTOUCH instead of a hardcoded one
* Some cleaning


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3156 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 20:35:02 +00:00
Jake.Stine f219b79ad4 UI: Fixed a few minor layout bugs in the logging options, and introduced pxDialogCreationFlags to get rid of some Constructor Parameter Hell(tm) on dialog creation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3155 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 19:50:31 +00:00
gregory.hainaut 92a1b9a503 [cmake]
* Clean 3rdparty flags not used. By default use -Os not needed to make pcsx2 bigger than it already is.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3154 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 17:31:55 +00:00
gregory.hainaut 03f96b29c5 [cmake]
* Select automatically module (include pcsx2, libutilities&libx86emitter) to build based on dependency available.
* rewrite SearchForStuff. More clean and it will better support mix between library and 3rdparty on linux. (see issue 736)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3153 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 17:17:55 +00:00
cottonvibes 149d3290db Added Game Database Editor to gui.
The panel is currently under "Emulation Settings", feel free to move it where-ever is appropriate.

If you have a game loaded the editor will automatically load the game's info, if not you can search for the game by typing the serial manually.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3152 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 16:41:51 +00:00
gregory.hainaut 732cb88708 [cmake]:
* remove the dependency on libportaudiocpp as codeblock. (issue 721)
* Improve build on 64 bit system


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3151 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 11:07:25 +00:00
Jake.Stine 8f92cdf265 UI: Switched from the old 'native' text labels to a new custom draw text label that should (hopefully!) be a lot better about positioning and wrapping text, and fitting to windows and what-not. Also gets rid of my nasty "ideal width" hack I originally used to fix-size some of the dialogs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3150 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 08:00:19 +00:00
gregory.hainaut 6a9950e9ef * Oups, copy from a wrong file. Restore the value
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3149 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-03 18:04:30 +00:00
gregory.hainaut 5932b130bd * separate build parameter and selection of plugins into new modules. Add comment and status messages
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3148 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-03 17:28:20 +00:00
gregory.hainaut 0d6ba65557 * Do not build spu2x unless all dependencies are ok
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3147 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-03 15:43:10 +00:00
gregory.hainaut 6055ca126b * Grunt work :) Use variables to set flags to ease futur modifications
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3146 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-03 15:12:29 +00:00
gregory.hainaut 00647fd299 * First pcsx2 commit of, I hope, a long series ;)
* Fix link with zlib 3rdparty


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3145 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-03 10:51:55 +00:00
arcum42 3b2d424f88 Fix compilation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3144 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-02 20:46:50 +00:00
Jake.Stine dd021b1ea1 Working on a new replacement for pxStaticText, which should hopefully have more reliable centering and wrapping behavior. Will finish it up later.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3143 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-02 15:58:34 +00:00
Jake.Stine 2f69597052 Revert WinSysExec.cpp change from prev commit; errant unwanted patch part slipped in. (would have broken optional enabling of setjmp under windows).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3142 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-01 14:30:25 +00:00
Jake.Stine 2a0d360125 Minor fix to memzero function in gcc/linux (mentioned in Issue 577); may help fix some errant SIGSEGV's with certain optimizations enabled.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3141 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-01 13:34:55 +00:00
Jake.Stine a3f73103a4 ... and woops. ctrl-c/ctrl-v is a dangerous thing sometimes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3140 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-01 11:38:22 +00:00
Jake.Stine 1083b658b3 * Apply gregory's patch for inconsistent "setLogsDir / SetLogsFolder" usage.
* Fix slomo hotkey (issue 725)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3139 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-01 11:27:10 +00:00
Jake.Stine 899e691781 SPU2-X: Disable MSVC's SSE2 opts (they suck anyway -- nothing more than a novelty option at this point). The SSE2 detection code was causing problems, namely perma-hangs when applying settings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3138 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-01 03:36:07 +00:00
Jake.Stine 0d732a8c62 wxWidgets/msw: Kill off some warnings introduced when I excluded some unused packages from the wx lib.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3137 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-01 03:34:51 +00:00
Jake.Stine 23857a0e16 Added a little OOP to the CPU detection code, and turned one monolithic cpu detection function into several isolated ones (isolated by what general info they detect).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3136 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-01 03:33:51 +00:00
Jake.Stine 19fb2ec775 zzogl-pg: fix for issue 701 : screwy config dialogs in win32, caused by incorrect 'bool' type on Win32 API CALLBACK functions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3135 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-01 02:00:48 +00:00
gigaherz d0a507e71d Also update glew to 1.5.4, and wglext.h to the latest version from http://www.opengl.org/registry/api/wglext.h
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3134 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-31 20:07:02 +00:00
gigaherz 5a97b9dd08 Portaudio: sync with portaudio /trunk up to revision 1505 (mostly linux stuff).
----
Revision 1505: wasapi: 
 - implemented support of non-Interleaved buffers (paNonInterleaved) for WASAPI blocking interface for input and output
 - blocking methods will now use PA sample converters
Revision 1504: alsa: - releasing memory of non-MMAPed buffer on stream closure by Pa_CloseStream
Revision 1503: alsa:
 - reverted buffer size (2048) hardcoding for non-MMAPed devices to avoid crash on wrong buffer size usage (whole area requires more work)
 - optimized non-MMAPed device operation to avoid malloc(memset)/free usage on every processing call avoiding significant performance penalty
Revision 1502: alsa:
 - fixed deadlock in PaAlsaStream_WaitForFrames if device is paused, poll() results are now checked for 0 and if 64 times exceeded an error (paTimedOut) is returned
 - removed hardcoded low-limit of latency for non-MMAPed devices, it is an obligation for user to set an acceptable/desired latency value
 - tuned XRUN recovery sequence for MMAPed devices
Revision 1501: fixed compile for DirectSound implementation under MSYS, missing DSSPEAKER_7POINT1_SURROUND define


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3133 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-31 19:51:53 +00:00
Jake.Stine 644d4cda7f Screwed up my last i18n commit -- forgot that gettext/poedit needs explicit text literals to work from, so my pxE_* macros won't work. This version should be better.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3132 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-31 15:18:49 +00:00
Jake.Stine 62e0ab888e PeopsSPU2: Remove framework version info from the project file (seems to cause problems on runtime version selection).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3131 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-31 13:13:22 +00:00
Jake.Stine f98f565738 PeopsSPU2: Convert to use VC++ shared CRT; so that printf gets properly intercepted by the main exe; so that we can get some log info... maybe.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3130 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-31 12:32:53 +00:00
sudonim1 262a806c63 Little logic error in the HLE ioman code that arcum spotted. (It's in code that isn't reachable unless there's a bug in fd allocation so it won't affect anything.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3129 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-30 17:43:20 +00:00
Jake.Stine a660d7e721 wxWidgets/Win32: Disable a bunch of crap we don't use (and likely never will). Saves 150-200k off pcsx2.exe and plugins that link against wx (SPU2-X and ZZogl I think).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3128 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-30 16:44:22 +00:00
Jake.Stine 6e713dbc5c ... need to remove a pointless bit of code left over from a wx-related copy/paste job.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3127 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-30 16:11:21 +00:00
cottonvibes 8adefdad3d Print console message when sceMpegIsEnd pattern is found for the Skip-MPEG gamefix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3126 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-30 13:53:11 +00:00
Jake.Stine 47b89a4146 * Improved conformity of translation tokens.
* MemoryCard -> memory card  (bositman's decree!)

DevNote: pxE() macro is replaced by many pxE_* macros for specific types of message uses.  See code comments for pxE_Panel, pxE_Tooltip, etc for details.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3125 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-30 13:24:44 +00:00
Jake.Stine 8922f04b75 New Docs folder setup: original proprietary docs files are kept in /pcsx2/Docs, and distributable PDFs should be generated from them into /bin/docs for releases. :)
Docs are using Word 2000 format, which hopefully will be consistent between Word 2003/2007 and OpenOffice (not all devs are Word-enabled).

(note: FAQ has been converted from rtf to doc, and is currently in a partially-reformatted state.  I'll finish applying the improved formatting soon)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3124 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-30 11:47:46 +00:00
cottonvibes a5e570b058 Added all the katamari games to use the new skipMPEG gamefix in the game database.
The other games in the database that are using skipMPEG patches need to be tested to see if they still even need them...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3123 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-30 02:07:16 +00:00
Jake.Stine 52609a58c8 NSIS Installer:
* Add the major/minor version number to the generated exe's.
 * Default to using the HEAD revision for all exe's and plugins in the package, instead of versioning each one independently.
 * Update instructions readme to mention use of Eclipse as a NSIS editor and integrated environment.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3122 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-30 02:00:19 +00:00
cottonvibes b678e65b6e New generic Skip MPEG gamefix that lets you skip videos in games to avoid hanging.
This will replace the many sceMpegIsEnd patches we currently have.
Thanks to pseudonym for coding the recompiler version of this gamefix.

Essentially what it does is, the EE recompiler finds the pattern of code used to check if an MPEG is finished, and then recompiles code to say that it is finished.
This will work for most Videos/FMV's in games, but its possible that some games don't use the same library functions for videos so the correct pattern won't be detected; and therefore the videos will not be skipped.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3121 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-30 01:52:43 +00:00
feal87 fcd9464a1f Removed from GSDX Build (VS2010 side) residues of CG/OpenGL/Glew etc...
Added in the GSDX Build (VS2010 side) the proper link to the DirectX libraries
Updated the GSDXGui project to VS2010.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3120 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 18:09:38 +00:00
Jake.Stine 37d6a1f9da * Added new 0.9.7 readme and FAQ (located in /bin so to be package-ready)
* NSIS Installer: Added 09.7 docs to the package, and create shortcut links to readme and FAQ.
* removed old 0.9.6 docs and gnu_gettext.dll (no longer needed in 0.9.7)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3119 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 16:24:26 +00:00
Jake.Stine 3b88d18670 Removed several legacy items from the bin folder (used in 0.9.6, unneeded for 0.9.7's uber-'leet wx-ified user interface design)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3118 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 15:01:34 +00:00
arcum42 fc22d11966 Readd a line back in.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3117 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 14:14:42 +00:00
arcum42 b80f417943 spu2-x: Slap the Linux port back together a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3116 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 13:37:01 +00:00
Jake.Stine bc11d59438 SPU2-X: Added preliminary support for SPU2setLogDir(). Should probably be tested better, but bleh. I so want to rewrite all of this stuff in a nice wx-based cross-platform manner. >_<
DevNotes: converted some code from wstring to wxString to work a little toward cross-platformness. ... and probably broke the Linux build.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3115 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 11:55:53 +00:00
arcum42 5e53c9b2c8 FWnull, USBnull, and dev9null now use SetLogFolder.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3114 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 10:46:48 +00:00
sudonim1 acc6965f62 R5900: Made the jump order in branch tests consistent. Very unlikely to impact performance in any way.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3113 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 08:34:48 +00:00