arcum42
c2f06e5b70
ZeroSPU2: Revert a refactor of the mixing code in ZeroSPU2, till I get a chance to fix the refactor. Fixes Issue 147.(Movie audio in ZeroSPU2 not playing.)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@709 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
Jake.Stine
2147ddab72
Indeed, forgot to do two things from the last revision. >_<
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@708 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
Jake.Stine
968bd03866
Improved the Win32 build model for plugins and Pcsx2, which introduces several improvements: * Binaries are generated in their respective $(ProjectDir)/bin folder (various clutter like ilk, pdb, and other non-distributed files). * Executables and DLLs are renamed with the SVN revision tag and copied to the final $(SolutionDir)/bin folder. So pcsx2 now automatically generates as "pcsx2-pg-r705.exe" :) * Checkout/Update speeds from SVN should be a lot faster now. * Some build errors fixed for people who don't use TortoiseSvn.
...
... and this is a big commit so I probably missed something. ;)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@707 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
arcum42
55c221ca8a
ZeroGS: AA switching fix. Add preliminary code for 8x & 16x AA to the OpenGL version. See issue 148.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@706 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
ramapcsx2
504de36d80
Tweaked the seek delay timing for CDVD so it is quicker again. Games had stalls before that did not happen on a real ps2.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@705 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
arcum42
b3dc39e777
Commit the patch from r149.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@704 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
Jake.Stine
84a8c58753
Brings Linux side into sync with the EE/IOP block manager enhancement. :)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@703 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
Jake.Stine
f2a71e1598
Upgraded the EE/IOP block managers to support addressing to *any* are of memory. This removes the former limitation that EE/IOP recBlocks had to be below the 256Meg line. This should reduce the number of VUrec failures since the VUrec no longer has to compete with the EE/IOP recs for the same 48Meg area of physical memory.
...
Fixed some bugs when starting Pcsx2 for the first time, or after deleting the .ini file. Expect far fewer failures now. :)
Removed some verbose debug logging for Frame/VU Skips, from the previous revision.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@702 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
arcum42
fbe47fbc41
Externs should not be static. Reconcile a few variable types as well, and pass the Console C strings rather then C++.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@701 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
arcum42
527216b091
Linux: Remove two gamefixes, one of which I added in 8 commits ago... :)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@700 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
jake.stine@gmail.com
4673a23e55
Frameskip / VU skip should work a lot better now (some vars weren't being initialized correctly).
...
Fixed Devel/Debug build compilation errors with cottonvibes' new VUmicro code. PrecompiledHeader.h must be a top-level include. It can't be nested inside other .h files.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@699 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
cottonvibes
ec088c0737
moved Vif files to their own folder in the VS project file.
...
added new VU rec framework.
hopefully, "Mega VU" recs will eventually supersede Zero VU recs when I'm done with them.
also, please no-one touch! everything is experimental, and nothing is absolute!
the code is constantly being changed/modified/deleted/moved.
I'm committing what i have now so I can have a backup ;)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@698 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
ramapcsx2
257953908f
Refraction fixed the delay slot handling and the VU clip problem. This lets us remove 2 game specific hacks from the gamefixes dialog ;)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@697 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
arcum42
031f10b29a
Adjust fetch.sh to always grab the same revision. Needed for future changes.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@696 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
ramapcsx2
9008bca666
There were 2 typos in the recent MMi changes. Fixed now :)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@695 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:41 +02:00
arcum42
67cd29edfc
ZeroSPU2: Windows decided to get picky about includes, in a way usually reserved for gcc.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@694 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
arcum42
8958959fcf
Bring in the neccessary SoundTouch changes as well.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@693 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
arcum42
50040eb4fb
Get the plugins to compile in Linux after the reorg, and bring the game fixes dialog up to date in Linux.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@692 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
cottonvibes
cb52374106
fixed some potential VU micromem clearing problems. i don't know if the fixes effect the current recs (most likely they do), but they definitely effect the new ones i'm working on :/
...
Devs: when writing to vu micromem
1) remember to vuMicro->clear (preferably with size being a multiple of 8, since micromem holds vu instructions, and the instructions are 8 bytes (64 bits))
2) clear before the write to memory! not after... (if the recs cache old microprograms (like mine will, and i think current ones do), and you clear after the write, then they're caching corrupt data :/)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@691 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
arcum42
3fcb3a4143
Fix Windows again.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@690 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
arcum42
1de54165b5
Thanks to a patch by Zeydlitz, the Linux build of pcsx2 works! (The plugins still need fixing from the reorg, but I'll get that later.)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@689 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
ramapcsx2
cc0053c1e7
Nneeve and tmkk fixed 2 MMI opcodes, supposedly fixing Naruto Shippuuden Narutimate Accel 2. Can't test that game here, but the code is solid. Thanks again to those 2! :)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@688 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
Jake.Stine
046ff317f7
Fixed ZeroSPU2's solution/project link, and updated Linux makefiles (think they should work now, but haven't tested)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@687 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
Jake.Stine
a5ef038c53
Removed some files from ZeroSPU2's Win32 project that didn't exist. They were left over from my attempt to upgrade SoundTouch, unfortunately latest version of SoundTouch doesn't handle the Pcsx2's need for dynamic on-the-fly tempo changes very well. :(
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@686 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
Jake.Stine
36cc4fa08c
All plugins now compile correctly under Win32. Upgraded ZeroSPU2 to use a newer version of SoundTouch in the process.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@685 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
Jake.Stine
36a2178e68
Part Two of plugin folder structure reorganization. Pcsx2 and SPU2ghz compile fine now, other plugins might need a wee bit of work yet.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@684 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
Jake.Stine
0b00f96040
*BROKEN BUILD* *DOES NOT COMPILE* Cleaning up the plugin directory structures, using svn:externals to share 3rd party libraries, and re-configuring the svnrev feature so that it won't error out anymore if you try checking out just a specific plugin. Have to commit this broken code and re-update to get the svn:external bindings to resolve though.
...
A working directory/project structure will be committed soon. :)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@683 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
Jake.Stine
a92fc9900f
SPU2ghz: Third try's the charm? This is an even better yet fix for the crackling sound in SO3. Note: This revision upgrades spu2ghz savestates to 0x101. Old states should still load fine for the most part.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@682 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
ramapcsx2
ef489b45bd
Revert the Fatal Frame VIF related hacks. The game does not recover from the bad dma transfers anyway, so the hack just delayed crashes.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@681 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
Jake.Stine
a68b78fbc2
SPU2ghz: Did a better fix for SO3 crackling sounds (probably improves sound quality in some other games too). Changed the IRQ events so that they're raised for *both* cores, if enabled, regardless of which core actually accesses the SPU2 memory address; it should be more correct this way. Unknown if it actually fixes anything tho.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@680 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
Jake.Stine
f8b274ddfe
Implemented a new optimized version of recPLZCW, though it probably doesn't make much actual difference to performance (but it was fun! :)
...
Applied a small patch from Pseudonym that repairs the Debugger (sorta).
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@679 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
Jake.Stine
6ec4518d35
SPU2ghz: Fixed some problems with the PCM cache that caused crackling sound in Star Ocean 3.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@678 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
ramapcsx2
60c3fe80f5
Tmkk could reduce the needed number of instructions for VU clamping a bit. Small speedup on SSE4 CPU's.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@677 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
Jake.Stine
5f42a79cec
Reverted some changes related to dyna_block_discard that appears to cause random crashing. Also improved the deci2Call behavior to be more correct.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@676 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
ramapcsx2
8594b87177
The PLZCW bug was quickly found :p Re-enabled the recompiler with the fix.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@675 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
ramapcsx2
9c9d67b3d8
One of the recompiled MMI opcodes (PLZCW) is broken. Since the interpreter isn't slower it's used now instead.
...
Enjoy God of War :)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@674 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
Jake.Stine
46f1df20f4
Fixed a potential cause of random-ish crashes during emulation startup, caused by a small typo in the new SysMmap in System.cpp.
...
Fixed another potential cause of randomish-crashes during dyna_block_discards, by removing some obsolete debug/troubleshooting hacks from when we had register corruption issues. Also removed if(s_pDispatchBlock == NULL) checks in the Dispatchers, which were added during the same period of register corruption paranoia.
Added a check for null pointers in Deci2Call. Fixes crashes in some games (Samurai Warriors 2 XL, possibly others?)
Changed over most uses of memset to memzero_obj.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@673 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
Jake.Stine
271eee8dea
Removed most of the cluttery code that used PCSX2_VIRTUAL_MEM. Left in various parts of VM code which could be useful for reference in the future.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@672 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
cottonvibes
e8e5eb320a
some more clamping changes by tmkk.
...
i also fixed a small bug in SysMmap()
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@671 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
cottonvibes
167399c52c
added various VU optimizations by tmkk, including different clamping optimizations.
...
i also fixed some VU functions to use appropriate clampmodes, that i had forgotten to change in the past.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@670 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
arcum42
7adb8c864f
A few quick changes to get Linux compiling again. And the 0x8000000 in vtlb_malloc does turn out to be neccessary...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@669 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
Jake.Stine
5fbaf63663
More work on the Linux side of things. This blind coding without being able to test stuff is challenging. >_< Also did some cleanups and error corrections in the way recs and vtlb allocate memory.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@668 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
arcum42
65a1ef18c8
Linux: Commit the latest aR5900-32.S patch, and a few Linux Gui changes.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@667 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:40 +02:00
arcum42
b9fe352299
Remove an obsolete change that made it in on the last commit...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@666 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:39 +02:00
arcum42
30554896ec
Linux: Bring in changes from various patches, and get it compiling again.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@665 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:39 +02:00
Jake.Stine
e41d18164e
Made some quick fixes to the Linux block manager for the EErec (aR5900-32.S)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@664 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:39 +02:00
arcum42
347e6c44bb
ZeroSPU2: Refactor a few things, break up a few files, and fix a fencepost issue when clamping.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@663 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:39 +02:00
ramapcsx2
1ace722861
Added a game fix that handles delay slots differently in the VUrec. If enabled, it fixes Kingdom Hearts 2 (the gray screen bug, and the slowness) and also Tri-Ace games SPS.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@662 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:39 +02:00
Jake.Stine
672bdb5a60
Implemented Aligned Realloc for Linux, fixed VUmicroMemInit so that it's Linux friendly, and added a new function vtlb_malloc(), which allocates memory blocks below 0x80000000 (which keeps vtlb happy). It's used by PS2, IOP, and VU memory allocators.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@661 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:39 +02:00
Jake.Stine
2cba5081b3
Implemented COP2's branching instructions in the recompiler (BC2F, BC2T, BC2FL, BC2TL), and fixed a bug where Branch-Likely instructions were not recompiled correctly for COP1 and COP0 branches.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@660 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:39 +02:00