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
cottonvibes
60f42192e9
the document i was reading had incorrect information for the ORI opcode (said it should be a sign-extended immediate, but its really supposed to be zero-extended) took me hours to figure out the problem ><
...
anyways, I fixed the opcodes correctly...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@175 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes
bd17a637ba
O
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@174 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes
06d3b9731b
some EE rec and interpreter opcode fixes. theres still some possible problems with the rec opcodes, not sure how i'm going to fix it yet. anyways, should be alot better than it was before.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@173 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes
c734750dde
very-minor spelling mistake change :O
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@172 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes
7cbf3cec28
minor fpu changes
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@171 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes
3774eedbae
some fpu interpreter changes...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@170 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes
34a196376b
made the code i commented-out in r167 work correctly. games that had problems when the "disable underflow" speedhack was left Un-Checked, should now be fixed.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@169 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes
e5ca03fc17
nasty error... i was clamping incorrect reg-vectors in recUpdateFlags(), so this could have caused problems...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@168 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes
0875c6ef55
commented out some code for now. now, i know why leaving "disable underflow speedhack" unchecked sometimes breaks games.
...
i'll have to fix it later, but for now the speedhack is always on (this is more compatible)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@167 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes
a85045b60f
according to psxAuthor, branches wrap around when the result is less than zero; so i'm trying this. should fix some possible graphic problems/errors caused by incorrect VU branch addresses...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@166 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes
9e850224c2
forgot to change this...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@165 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
ee5d3d02fb
fixed possible allocation problems...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@164 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
ac7da51968
fixed some possible allocation problems... Fixes rockstar games that were broken in the last revisions..
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@163 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
a7a53d6205
very minor change...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@162 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
56255ae461
reverted something i commented-out along time ago.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@161 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
842b472a40
re-recoded the VU div opcode lol. now its more efficient, faster, and 1/6 the size :D
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@160 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
ae714c14b3
fix for last revision.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@159 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
55879992d8
some cleanup... this file is a mess...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@158 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
c3f5932904
optimized some retarded code...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@157 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
8039cdd8b7
Corrected a bug in a memory write function. Thanks to drk||Razi for spotting this one.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@156 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
937f8835c5
should fix x64 build compilation problems...
...
Note:
seems iR5900-64.c is pretty much a copy of iR5900-32.c just with a few x64 specific changes...
so any code-change made to iR5900-32.c will have to be mirrored to iR5900-64.c... sigh pretty annoying...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@155 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
fe00d7871c
minor change: lets x64 build use FPU interpreter if the processor doesn't support SSE...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@154 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
42ce99eb21
major code clean-up for FPUs, removed alot of old/useless code, and organized stuff better. trying to clean-up pcsx2 a bit..
...
*note: FPU reg caching is always on now; which means you need a SSE processor to run the FPU recs, if not it will just run the interpreter code instead (not really a bad thing, the int-code isn't much slower)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@153 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00