Commit Graph

3111 Commits

Author SHA1 Message Date
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
arcum42 0f2af9679c zeropad: Patch zeropad to use SetLogFolder. (modified from a patch by gregory)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3112 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 04:44:56 +00:00
Jake.Stine 250b5da3ab Adds support to PCSX2 for 'SetLogDir' being passed to the plugins; needed for proper UAC/user homedir mess (patch by gregory).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3111 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 03:36:49 +00:00
ramapcsx2 1cf685c8c6 Minor change to wording :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3110 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 22:43:12 +00:00
cottonvibes 2e6bda7c50 If any gamefixes are loaded by the db (including roundmode/clamping changes), then console titlebar will display [Fixes = n], where n is the number of gamefixes loaded.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3109 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 22:40:08 +00:00
sudonim1 e82bb4a82b IPU: SGN support for IDEC. Again, what uses this I don't know.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3108 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 22:16:01 +00:00
sudonim1 a98072a3ca IPU: include default alpha in SSE code for maybe a small speed gain.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3107 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 21:55:44 +00:00
cottonvibes d8b0ac03e5 Fixed patches/cheats still being applied on game reboot if they have been disabled.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3106 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 21:49:50 +00:00
sudonim1 11c526e94f IPU: Typo in threshold alpha for YUV->RGBA conversion. Don't know what games use this.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3105 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 20:58:44 +00:00
Jake.Stine 15ac11b82e ... do the same thing for File_Reader.h as I did for Database_Loader.h in r3101 (translation: added semi-important C++ redtape syntax).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3104 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 17:03:35 +00:00
Jake.Stine 81c35c9fcc Many small memoryleak fixes in PCSX2 (mostly related to newVIF's recompiler) and one memoryleak fixed in USBnull. Had to juggle around the initialization/reset code for VIF a bit to get it happy. This also removes quite a bit of redundant memory allocations and clears when starting/resetting the emulator; expect a small speedup on slower machines.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3103 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 16:54:42 +00:00
Jake.Stine 9e7394afff * Set the PCSX2 event handler queues to use the wxObject allocator (reduces heap fragmentation, multithread performance, etc) [MSW/Win32 only]
* SafeFree() macro changed: Remove null check on calls to free(); should be 100% safe as according to wx gurus.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3102 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 16:50:49 +00:00
Jake.Stine 6282570b9c Database Loader code cleanups: added proper use of "const string&" to the class APIs (improves compiler code generation, protects against unwanted or unexpected modification of parameter contents). As a result, fixed a potential bug in toLower; it was modifying the input string.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3101 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 16:46:51 +00:00
Jake.Stine 6ec36fa37d wxWidgets/MSW: Applied my custom string/object heap allocators to several more wxWidgets containers and types (helps reduce fragmentation and multi-threaded contention on the main heap).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3100 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 16:24:53 +00:00
sudonim1 4a2c5737c0 Fix decision memory for a few dialogs including disc swapping and drag and drop loading.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3099 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 15:55:32 +00:00
sudonim1 bed2664465 I was sure I'd already done this. ELF loading now working in release builds.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3098 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 14:53:24 +00:00