Commit Graph

88 Commits

Author SHA1 Message Date
arcum42 4575351e36 ZeroSPU2: Fix saving options in the Windows version.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@649 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:39 +02:00
arcum42 a165a01495 ZeroSPU2: Add two files I forgot in my last commit.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@633 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:38 +02:00
arcum42 dde14aab30 ZeroSPU2: Update the Windows project file, so it knows about the new files from r629.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@630 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:38 +02:00
arcum42 98e9c9635d ZeroSPU2: Some defines become functions, the register list got updated and commented, some code got moved into new files, and some preliminary code for later refactoring was added.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@629 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:38 +02:00
arcum42 bbb97ac157 Fix an include in the OpenGL version of ZeroGS.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@625 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:38 +02:00
Jake.Stine c3d54de50d ZeroGS: Fixed up the Win32 builds for OpenGL, and removed some warnings from the DX version. Removed some of the redundant and unused #defines from the project files (__WIN32__, __MSCW32__, etc).
Note: Compiling ZeroGS-OpenGL/Win32 requires the NVIDIA CG Toolkit.  Compiling ZeroGS-DX/Win32 requires the DirectX SDK.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@614 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:38 +02:00
arcum42 84c7b1bdc3 Various ZeroGS cleanups. A few things got mirrored from the dx version to the opengl version, and vice-versa. A few defines became inlined functions, and if statements became switch statements...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@574 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:36 +02:00
Jake.Stine adf070f8ea Code cleanup Revision: Implemented COP0 and COP1 (FPU) opcodes in the new opcode table system, rearranged namespaces to (hopefully!) make more sense, deleted a bunch of unused or duplicated prototypes in headers, and separated a few sections of general code into their own modules (such as XMMfreezeRegs/MMXfreezeRegs found in iCore and iR5900-32 modules, and some COP2-specific functions in VU0)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@566 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:36 +02:00
Jake.Stine a20ceb0bcb Renamed all output files to conform to a consistent standard (pcsx2pg-vtlb-dev.exe / SPU2ghz-Pg / etc). Namely, the Dev builds of pcsx2 are now clearly marked, and Public builds are naked: pcsx2pg-vtlb.exe.
Changed all the PPr's in the plugin names to "Pg."  Dunno why I did PP in the first place.  I must have had sand in my eye.

Removed ASIO code from spu2ghz - the driver model is way too overly complicated and now that XA2 is stable it would have been of little use even if it had ever worked right.  OH yeah, and no more const error on compile under some revisions of DXSDK.  Yay! :D

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@563 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:36 +02:00
Jake.Stine b32acd4206 Win32: Fixed some memory leaks in the GUI when pressing Escape and then manually resetting the emu or starting new games and such. Oh and ZeroGS plugin now compiles again without error on MSVC. :D
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@559 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:35 +02:00
arcum42 eeb1ddca65 Plugins: In ZegoGS, convert FASTCALL to __fastcall, since it's in the new headers. Turn two #defines into functions. Adjust #includes and makefiles as suggested by Jake on all plugins.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@554 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:35 +02:00
arcum42 ffc90048d7 Fix Linux plugin breakages from r540, and make build.sh call fetch.sh so that I am sure to notice the breakages earlier in the future.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@548 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:35 +02:00
Jake.Stine 3957d1520c Win32: Green colors now work in the console! Yay! (so important! heh) Fixed some project file options in the plugins, and started converting all the old SysPrintf's over to color coded Console messages. (but there's... so... many... >_<) Also, interchanged the meanings of WriteLn and MsgLn since I kind of had them backwards from what I originally intended.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@543 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:35 +02:00
Jake.Stine 899b0bc4f1 Configured all the newly-added plugins to compile properly under Win32/MSVC (ZeroSPU2, ZeroGS, ZeroPAD). Created a new solution file called pcsx2_suite_2008 which contains Pcsx2 *and* all the plugins.
Moved the PS2Edefs.h and PS2Etypes.h files into /common.  All plugins and Pcsx2 now reference the same copies of these files at all times.

Removed SubWCRev from the repository, and linked the /common/ folder to the /plugins folder (allows for people to checkout the plugins folder alone and still be able to compile without pre-build step failures).

Tweaked the MTGS throttler.  Might work a wee bit more efficiently in certain high load situations.

Fixed a rare bug in the COP2 (i think!) introduced during one of the earlier VU code cleanings.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@540 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:35 +02:00
arcum42 bee1d26824 Adjust indentation in zerogs to be consistant between dx and opengl, making it easier to compare the two.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@530 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:34 +02:00
arcum42 8b00b31411 Simplify the code in MixADSR, and restore a few values I changed inadvertantly.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@506 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 4531a1406f ZeroSPU2: Reformat zerospu2.cpp & h so that they are readable. Change a few unneccessary case statements into if statements.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@505 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 651ce3ec2d ZeroSPU2: Break ALSA & OSS into separate files.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@503 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 9ce023bf26 Get rid of a bunch of old commented code in ZeroSPU2, to make it easier to read and modify. Get rid of a compiler warning, and mark as the Playground version.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@502 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 8019062b04 Convert the glade file for CDVDiso to be the moderately out of date version we normally use, rather then some version out of the mists of time that Glade can't read anymore.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@499 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 5c121d632b Adjust ZeroSPU2's file structure a bit, so it isn't so cluttered.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@498 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
Jake.Stine a7d3fee8ce Pcsx2: Possible fix for the MTGS giftag handler, as reported in Issue 88 (should fix several Kingdom Hearts issues I hope, but I can't test it here right now).
CDVDiso: Fixed the folder/directory remembering.  It didn't always work. -_-

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@497 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
Jake.Stine af14756352 Improved the MTGS enable/disable option, so that it only resets the GS plugin now, instead of everything. Using File->RunCD performs a full reset now, as it should.
CDVDiso: The last used directory is now saved correctly.  You won't have to re-nav to your iso folder constantly anymore. :)

CDVDiso: Added missing resource file to the project (configure boxes appear/work now).

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@496 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
Jake.Stine 8aa7f3c3d1 CDVDiso: Applied svn:eol-style:native attribute, and added the .vcproj file missed in the last commit.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@494 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
Jake.Stine aa99d7781d CDVDiso: Now compiles under Win32 properly (can be compiled as either C or C++ code so linux should hopefully still work too). Fixed the issue where leaving the ISOfile blank (auto-prompts for ISO on RunCD) won't auto-prompt everytime you resume execution.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@493 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 092110eb06 Fix Windows build of pcsx2 and Linux build of CDVDiso.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@492 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
Jake.Stine cf9eaae693 Tried to fix up the CDVDiso plugin so that it doesn't ask for ISOfile when resuming execution of a game, but for some reason the plugin isn't recognized by Pcsx2. Too tired to figure out what I did wrong. :/
Also, fixed a typo in PS2Edefs.h - had _cplusplus instead of __cplusplus.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@491 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 d98ed02035 Correct compiling in Linux again. Cpu & Savestate code still need to be reworked in Linux.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@490 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 d4804208f3 Add Zeydlitz's OGL patch to ZeroGS, plus the fix from issue 4.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@486 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
arcum42 661c529443 Add a configuration dialog box to the Linux version of ZeroSPU2.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@485 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
ramapcsx2 53ef8d1ea4 Included more plugins. We now have CDVDiso, ZeroGS, Zeropad and ZeroSPU2 included.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@484 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
Jake.Stine d3b51a4529 SPU2ghz: Bugfix for when loading older/non-compatible spu2 savestates.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@483 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
arcum42 26dfd9846c Fix a bunch of compilation errors in Linux. (It still doesn't compile, but I wanted to commit these before more changes are made...)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@461 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
arcum42 ef5d9a291d Quick fix to r455 before I go to bed.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@456 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
arcum42 93a4efc619 Add a few scripts for convenience.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@455 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
ramapcsx2 89befbf22c SPU2Ghz: Readjusted initial volumes. These give correct volume levels for fmv, ingame sounds and speech. Boost volume is still not recommended but the default volume seems loud enough already :)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@406 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:29 +02:00
ramapcsx2 3db3e080f1 SPU2Ghz: Second part of the volume quirks update. Thanks to Gigaherz for fixing the core reset functions.
Note:
The plugin is now louder by default, so check your volume boost setting and disable it.
If the game is still too quiet, you can re-enable it again :)

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@405 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:29 +02:00
Jake.Stine 7200d88431 Much to Guesseous distress, I have once again overlooked something small and obvious in my last commit. If I were using a table saw I'd be missing my arm at the elbow by now.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@404 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:29 +02:00
Jake.Stine b938d41e2b SPU2ghz: Minor tweaks to the mixer that should help get rid of overflow problems. This is the first part of a 2 part commit that should help correct some old-timey volume inaccuracies in the plugin.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@403 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:29 +02:00
Jake.Stine bc08e7397b SPU2ghz: Improved "on exit" stability of the XA2 driver on WinXP machines, by covering up for things the driver is *supposed* to do itself (but apparently does not, in WinXp at least).
Also fixed a Pcsx2 compilation error when trying to enable the experimental IPU speedhack.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@383 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:28 +02:00
ramapcsx2 1c8203a3af SPU2Ghz: New defaults
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@382 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:28 +02:00
Jake.Stine 96560444ea SPU2ghz: Fixed a memory corruption bug in the rolled back DMA write code. Hopefully this DMA write code will fix that bug without breaking Arc the Lad and similar games.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@334 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:27 +02:00
ramapcsx2 7e828a69ee SPU2Ghz: Had to revert dma.cpp to rev244 for the most part. The dma cache system in DoDMAWrite() broke Arc the Lad dma audio. The auido starts to loop a bit in rev 264 and from there on it gets worse.
Sorry for not finding this earlier, I hope the cache can get fixed so we can include it again.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@333 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:27 +02:00
ramapcsx2 996fbc3931 This was supposed to be a bigger commit concerning loopy audio in Dawn of Mana FMV, but it looks like its not so easy to fix. So this here is some cleanup I did along the way ;)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@324 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:27 +02:00
gigaherz dd7f8807ac OMFG gigaherz is commiting something! RUN!
So rama made me notice the "sanity" checks on the TimeUpdate stuff,
I read it, and it kinda scared me that it happily dropped the sync as soon as the audio was 0.002 seconds out of sync!
I changed it so the "sanity recovery" code only kicks in when there's over 0.1 seconds desync in clock numbers,
which seems a LOT more reasonable.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@320 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:27 +02:00
Jake.Stine 6930ed533c SPU2ghz: Compiling without TortoiseSVN installed should work out-of-the-box now. The project will automatically fall back on the old-school behavior (no revision information inserted into the project info).
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@305 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:26 +02:00
Jake.Stine 29bf736daa SPU2ghz: XAudio 2 crash fix attempt, take #341. Action! *clip*
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@304 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:26 +02:00
Jake.Stine 3968775bc6 SPU2ghz: Removing the Sleep() caused XP's XAudio2 to crash again. But I found a note from Microsoft on one of their dev journals that said to put the Sleep() immediately after the FlushBuffers and before the DestroyVoice. Let's cross some fingers and hope it works! (don't you love beta libs from microsoft?)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@303 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:26 +02:00
ramapcsx2 a973f63bb0 SPU2Ghz: Commented out a Sleep() call in xaudio2. It made the GUI not respond for several seconds when pressing escape to pause emulation
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@297 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:26 +02:00
Jake.Stine 805b922c9a SPU2ghz: Added quotes to the svnrev pre-build step; hoping it behaves better for users who have paces in the names of their project folders.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@296 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:26 +02:00