Jake.Stine
ba9ab8f6e0
SPU2ghz: Added sanity checks to the XAudio2 driver, might be more stable now.
...
If this doesn't fix the crashing problems then I'll have to look into making a special instance of spu2ghz.dll that dumps XAudio2 log data, and hope to solve it from that.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@249 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:25 +02:00
cottonvibes
949a8b870f
minor update: in the CPU frame limiting dialog, i put a note that says F4 key switches the mode in-game.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@248 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:25 +02:00
ramapcsx2
88638106e6
SPU2Ghz: Well, yet again another update from Jake.Stine :p This time around he improved the already great timestretcher to be even smarter. This and the fixed XAudio2 output module get even Vista users a near realtime sound. (Try a delay between 90 and 140ms).
...
Read a bit more about this version in issue 31 :)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@247 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:25 +02:00
cottonvibes
4da570c671
Counters changes: reverted back to my counters code from svn241 and fixed the DMC1 bug as well as alot of other stuff (including some of the problems Jake.Stine found out in Issue 32)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@246 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:25 +02:00
ramapcsx2
f69a63b489
SPU2Ghz: Adjusted default values for the worst case (Windows Vista... seriously, what did MS to the audio subsystem?)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@245 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:25 +02:00
ramapcsx2
0e1f871606
SPU2Ghz: Lots of changes as described in issue 31, thanks again to Jake.Stine.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@244 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:25 +02:00
cottonvibes
eaf15db0fe
reverted counters.c to official SVN's code for now (my code was crashing Devil May Cry for some reason...)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@243 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:25 +02:00
arcum42
7ef953567d
Cleanup various things g++ doesn't like.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@242 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:25 +02:00
cottonvibes
4390e0a922
forgot to change this...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@241 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:25 +02:00
cottonvibes
86c35c57b0
changed the counters algorithm again; some games didn't like the algorithm from 228...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@240 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:25 +02:00
arcum42
c9e333b4d5
Fix Linux compilation as of r237
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@239 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:25 +02:00
cottonvibes
4c7550971e
fixed some counters problems, should be more smooth and stable.
...
one of the problems i'm having is that rcntUpdate() should be called more-often, but i don't know where i should put it...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@238 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:25 +02:00
ramapcsx2
d72cacbdd4
Changed the Sleep() behavior as posted by Jake.Stine in Issue 29. Improves smoothness in games running fullspeed, and lets pcsx2 use the cpu time it needs :)
...
(Note: You'll see constantly 100% cpu usage now, but pcsx2 doesn't do any "more" work.)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@237 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:25 +02:00
arcum42
39f363262b
Remove silly debug message I left in. :(
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@236 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
arcum42
cc7ed023d4
Assorted cleanup on iCOP2.c, with a few minor tweaks.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@235 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
cottonvibes
6776a9bb07
more counter changes.
...
also found some cool speedhacks that i made into macros in Counters.h:
setting HBLANK_COUNTER_SPEED to '3', makes Kingdom Hearts II double FPS! (i was getting insane speed :p)
setting HBLANK_TIMER_SLOWDOWN to '2', makes God of War alot faster (FPS decreases, but game is faster)
the bad part is that setting one hack, makes some games faster, but other games slower.
like HBLANK_COUNTER_SPEED makes KHII alot faster, but slows down God of War.
these 2 hacks are inverse to each other, so you shouldn't set them both at the same time; and it depends on the game if it'll run faster or slower.
because of the complex nature of these hacks, i'm not adding them to the speed hacks dialog.
they also break the framelimiter... so use at your own risk!
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@234 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
ramapcsx2
e76b830d8c
SPU2Ghz: More improvements and cleanup
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@233 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
ramapcsx2
ef6b4d136f
Small tweak to the auto-timestretch. It now turns off only after the game runs at stable fullspeed for a while.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@232 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
ramapcsx2
54280950ef
SPU2Ghz: Made the timestretcher automatically turn on/off based on game speed. This is possible thanks to recent changes by Jake.Stine :)
...
The way it works now, it makes it completely automatic for the user.
If the buffers over/underflow the stretcher enables itself.
Once it decides that game speed is fine again, it disables itself.
This works really great here, but please comment if it causes trouble for you.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@231 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
ramapcsx2
89294b2d19
Hah! Since the last SPU2 update was so great I sent my local project files along the way :p
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@230 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
ramapcsx2
37f2a95289
Jake.Stine "completed" his work on SPU2Ghz, I tested a whole lot of games with this and it sounds great! Savestates work very well, the mixer is fast, even the dreaded buffer over/underflows are handled quite well (even without timestretch!).
...
All in all great additions which imo make SPU2Ghz the best SPU2 plugin to use now :)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@229 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:24 +02:00
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