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
cottonvibes
e961ab6591
minor fix for linux.
...
btw, we have a new member on the team, drkIIRaziel :D
he's one of the author's of nullDC (a dreamcast emu) so this is good news :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@152 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
e6162687c1
One more inline hint and (hopefully) fixed Linux (again :p)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@151 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
88ea5fb921
messed around with some DMA functions, might fix DMA errors. GIFdma should also be faster, since now it only freezes MMX and XMM regs when it needs to. also did some very minor code cleanups.
...
p.s. GIFdma() is a mess, it needs to get cleaned-up in the future.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@150 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
7a70299529
more inlining hints, more speed :)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@149 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
1480f022b3
forgot those
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@148 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
c9d64d63e9
SSE opcodes now all inlined. Changed all new inlining hints to _inline.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@147 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
d477c720e7
Modified opcodes headers and files so all functions use __forceinline now. This brings a nice, free speedboost of about 5% in all games :)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@146 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
437ac552f1
Changed pDsp so it *should* compile fine under Linux. (Can't test this :p )
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@145 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
c7ab67d8ce
better x64 fix
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@144 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
ad1f8a9e0f
-Odd bug on PsxHw.c -Added "FreezeXMMRegs" before recompiling psx code in places that had that missing. (Fixes x64 builds a bit)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@143 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
69e59aee38
Converted 64bit VS2k5 project files to VS2k8 and put the same optimizations as in the 32bit version.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@142 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
4a1fbd5279
reverted last revisions to prevent possible syncing problems/crashes.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@141 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
5eb9108814
The last update was too aggressive, some games didn't save states anymore. This does nearly the same, but saves work again.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@140 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
4b192421b1
Commented out gsWaitGS() code, which stops and syncs the gs when loading/saving savestates and also when some Vif counter is (supposedly) too big.
...
This helps regain audio after loading a savestate with ZeroSPU2 and a few games run faster
(Dragonquest 8, Dawn of Mana, Final Fantasy 12).
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@139 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
4d1280c69b
speedhacks now have "compatibility" and "speed" profiles to help avoid confusion.
...
compatibility mode: most games will work with this setting.
speed mode: fast settings, will break games.
note:
some games will still require manually tweaking the hacks. GT4 for example needs "Extra VU Overflow Checks" (greyed checkbox)
but the majority of games should work with "compatibility" mode.
there are also some odd games that will work better with "speed" mode, Rogue Galaxy for example.
anyways, hopefully these profiles will help avoid confusion.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@138 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
e7bc472969
took me a while, but i managed to do some nice recupdateflag() optimizations :D
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@137 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
d3764fc97d
minor change: some "vu overflow checks" were only being called when "disable extra vu flags" was disabled. the 2 speedhacks should be independent of each other.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@136 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
94d0e20d26
minor change: small optimization and fixed a typo.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@135 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
b0c4145950
Corrected the UpdateVSyncRate functions to properly set a NTSC framerate of 59.94fps. When framelimiting is enabled on NTSC games, the SPU2 plugin now does not need to stretch constantly.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@134 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
7509047e20
very minor changes
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@133 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
dd53f35d36
minor FPU changes
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@132 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
5c2c09caf0
Rule Of Rose now works with the FPU recs :D
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@131 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
0bab1b1e8c
changed the way the slowdvd gamefix works.
...
the slowdvd hack makes dvd reads at 1x instead of 4x speed.
this is untested, i think it should help TOA just like the old method.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@130 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
6c8ed786d6
Better "Slow DVD" hack. Now fixes ToA and Digital Devil Saga (one video only though :p)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@129 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
27c5c735ad
"Fixed" the slow FMV in games that use cd-read, also Xenosaga's Intro FMV works again. Note: dvd and cd readspeeds are not emulated correctly. Needs more fixing.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@128 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
40aae5a70e
ugly error, pcsx2 was reading cds as dvd's sometimes. so it was reading them 9x faster than it should be lol.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@127 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
f5f27e83dc
optimized the cd-read algorithm by removing extra un-needed variables. it still does the same thing though :p
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@126 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
c3b21e8af0
minor change.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@125 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes
73c15f56bd
fixed a possible zerorec branching error.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@124 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
8edd66c662
Added hacks to VU interpreters, only accessible via source. Note: these hacks are more like a reference, they help show what makes interpreters so slow. Most games break with these enabled, but my testing game is fine. Speedup in it is about 30%.
...
Note2: I'll remove these hacks, once interpreters are fast enough.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@123 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2
79d632c69b
small problem that always bugged me..
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@122 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
6f1fa0ec7a
some changes, should be a bit faster with "disable extra VU flags" checked
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@121 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
7107048266
different way to fix the pcsx2.ini crash.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@120 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
af18a6c626
added default button to advance options dialog
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@119 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2
832ac7f609
Fixed the pcsx2 startup crash when no pcsx2.ini is present.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@118 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
9aed7a2aad
minor changes
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@117 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
0f637e03b8
minor VU changes
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@116 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
88fccf4a94
some VU changes
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@115 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2
666dd22262
Added a Tales of the Abyss gamefix "Slow DVD access", which fixes most of the game hangs. Note that the game still hangs from time to time, but its better now :)
...
Also fixed the hdloader hang when reading the DVD "TOC". Games can now be installed on HDD.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@114 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
e27fa9651c
one more try for the Esc Hack. works perfect with GSdx DX9. Fully exits fullscreen/windowed GSdx, and console. (make sure you uncheck Lilypad's ESC hacks!!!)
...
if it doesn't work with dx10 gsdx, then just don't use the hack. i don't have vista to test out the problem.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@113 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
a59cb8ed50
this might fix ESC-key hack for vista users.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@112 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
3284a591a2
tekken 5 works again with the gamefix. that game is really picky :/
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@111 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
28a7c330a5
added ESC-key hack by request (turn it on/off from the speedhacks menu) turning it on lets you fully exit PCSX2 when running in fullscreen (so you don't have to press alt+f4)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@110 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
3af97aacd5
mostly some VU changes.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@109 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
e147a43668
fixed some errors from the last version i submitted, and also added extra clamping support to the remainder of the opcodes. the extra clamping i've been talking about is only enabled when you have Extra FPU Overflow Checks On (when the FPU speedhack is grey).
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@108 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00