Commit Graph

425 Commits

Author SHA1 Message Date
cottonvibes 55ba76be5d major counters changes; i rewrote the vSync/vBlank/hBlank algorithms. they still need some more tweaks though; and i need to check if the other counters are doing their jobs correctly.
also fixed the counters bug introduced in r220.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@228 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
ramapcsx2 ee9dcd4130 SPU2Ghz: Updated to include Jake.Stine's latest work. Some issues still exist, but will be fixed soon.
Also made the speedlimiter switch toggle timestretch for easier debugging and convenience :)

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@227 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
ramapcsx2 e4b3c6e649 SPU2Ghz: Disabled ZeroSPU2 compatibility mode for savestates. This should enable users to load savestates created with that plugin again. (compatibility mode was crashing too much)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@226 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
arcum42 ac6cccef88 Fix the compilation break caused by a misplaced character in the last commit.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@225 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
arcum42 c8b22145dd Commit the patch listed in Issue 26, to fix compilation issues on some Linux systems, mine not included.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@224 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
cottonvibes 2d450531cc reverted last counters change for now.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@223 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
cottonvibes 9bd2fef1a5 counters.c optimizations
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@222 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
arcum42 747cded0e1 Fix Atelier Iris 2/3 issue from r220, and devbuild issue from a few revisions ago.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@221 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
cottonvibes 42814820b0 more accurate counters
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@220 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
cottonvibes a6399cd633 updated ZeroFrog's change from the official PCSX2 svn 396
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@219 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
cottonvibes caca9f3e11 i think this was a big problem with freezexmmregs_()
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@218 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
cottonvibes ef60afb441 minor counters changes
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@217 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
arcum42 f1782de2f9 On Linux, use stdint.h for variable size if possible.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@216 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
arcum42 23c64e0497 Tweak the warnings a bit on gcc, so they don't require gcc 4.3. :(
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@215 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
arcum42 73b833fee1 Revert the windows project file, to prevent people from seeing how many 64 bit compatiblity problems pcsx2 has.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@214 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
arcum42 f905ea60f5 Assorted cleanup. Deleting and commenting out unused variables & code, and a few minor changes to the Linux code.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@213 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
arcum42 41f7d6f79f Remove a few of the more irritating compiler messages, and clean up a few misc things on the Linux port.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@212 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
cottonvibes 9bd263e04f pretty sure this is what was meant.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@211 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
ramapcsx2 bcd8e80183 Added "fixme" to some strange parts of code to find them faster.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@210 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
arcum42 14ca8e857e Comment out various code that appears to be unused.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@209 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
ramapcsx2 8e72f6f1e6 Working with real-time audio / buffers sucks :p Anyway, this gave me the least over/underflows.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@208 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
cottonvibes 44bef02a14 started working on Counters.c still needs more work
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@207 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
arcum42 8f3cb18ee5 The arguments for fpuFloat, ClampValues, and Clampvalues2 really ought to have variable types... :)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@206 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
arcum42 bd4ee76a6c Cast to (uptr) rather then (u32) in various places where the functions were actually looking for a uptr. No difference for 32 bit systems, but a uptr is a u64 on 64 bit systems...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@205 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
ramapcsx2 e1381992e5 Using this as a base now, it works very well for me. Thanks to Jake.Stine's patch the plugin got a bit faster ;)
I made a small mistake in the last 2 commits, its fine again.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@204 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
ramapcsx2 a6eba17dfa oO
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@203 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
ramapcsx2 6c2d95f27d SPU2Ghz: Part one of a bigger update
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@202 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
arcum42 e6d4aaf114 Change all occurrances of 'const static' to 'static const', to remove compiler warnings.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@201 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
ramapcsx2 27ff8cf44d Last update for today, timestretch needs one more addition, then its perfect. The soundbuffer can (rarely) over/underflow (loop) and throw of the emergency stretch calculations. Will fix that soon :)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@200 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
arcum42 f0583ffaf2 Turn on lots of compiler warnings, and get rid of some deprecated conversion from string constant warnings. (I'll probably be doing more commits based on these warnings in the future...)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@199 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
ramapcsx2 9e05d9146e A bit more work on SPU2Ghz. Removed old code, made timestretch code a bit more clear, etc.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@198 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
arcum42 254411d304 Add zerofrogs changes from the official svr, r393: changed qword to xmmword to fix gcc errors on newer distros
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@197 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
ramapcsx2 0810eaea38 SPU2Ghz: Reverted a last-minute tryout in the output buffering, it broke more than it fixed.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@196 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 347e62e60b commented out some code i'm pretty sure isn't needed. please report if any games break with this revision. (i don't think any will)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@195 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 2356f75396 fixed some bad VU1 opcodes (some opcodes didn't even return the correct register, so the correct result would end up in the wrong reg lol) also cleaned up some DMA code a tiny bit, and added FreezeXMMRegs() where it was needed.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@194 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
ramapcsx2 d69dc9a554 Adjusted spu2ghz project file (vs 2008)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@193 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
ramapcsx2 14d14ec6b9 Added SPU2Ghz to the repository
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@192 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
arcum42 09cf85f57d Fix a few spelling errors, make the Ok and Cancel buttons consistant in appearance on the gtk port, add some preliminary code for two dialogs, and get rid of the abomination that is a global variable named 'Window'.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@191 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 1d23c27200 changed the functions 64bit was having trouble with, to be the same for 64bit and 32bit without using the 64hack macro.
not sure yet why part of ADD32ItoM() was breaking 64bit, so i just commented that out.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@190 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
arcum42 8d23a6c6ab Change a few things in ix86.c to the way they were originally *if* you are running the 64 bit version. I've marked what each section breaks, if rama wants to look at it. I also fixed up the indentation in the file...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@189 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
arcum42 e90576254b Fix commit r186. Two header files weren't under version control, so didn't come over. :(
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@188 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
arcum42 1420fa3840 Bring the changes made to iR5900-32.c over to iR5900-64.c, as well as correct an annoying typo. (Note: I suspect some of the non-playground changes aren't in sync either, but I haven't really had a chance to look at those).
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@187 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
arcum42 ba9157ef68 Add the Game Fix, Speed Hack, and Advanced Dialogs to the Linux port.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@186 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 7f8380e2ba this should fix Dark Cloud 2. please comment if it does/doesn't work :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@185 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes dcec162818 Magna Carta fix is now a toggable gamefix, since it broke Crash Bandicoot.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@184 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 800a634dc2 fixed some potential EErec problems.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@183 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes d63edda5ca formated and cleaned up counters.c a little bit.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@182 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 706dc3689b added some code to make the magna carta fix configurable by the macro SUPERVU_VIBRANCHDELAY2. when SUPERVU_VIBRANCHDELAY2 is defined, it uses the old way (the method that breaks Magna Carta)
this is just for easier debugging.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@181 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
ramapcsx2 0541f4a462 Just a reminder that counters don't work 100% yet.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@178 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
ramapcsx2 3b0f153dbb Magna Carta now works. Please report if you have any new bugs with this.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@176 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00