Commit Graph

3276 Commits

Author SHA1 Message Date
gabest11 3b22adc4b3 GSdx: converted a few template classes to pointers and virtual functions, the dll got more than 100k smaller, since there were many changes, backup your old version first :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1236 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-22 01:22:52 +00:00
arcum42 8e3d3080c0 Get rid of Decode_XA. A few minor changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1235 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-22 00:35:09 +00:00
arcum42 b1fd826954 GSnull: Update the GifTransfer code. Start to add keyboard code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1234 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-21 22:19:54 +00:00
arcum42 7922f33f4f Minor variable type changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1233 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-21 21:12:01 +00:00
cottonvibes 996440bab0 microVU:
- Fixed a problem that was causing microPrograms to be cached when they shouldn't be (introduced in r1209). This also fixes broken logging in some games, and is a small-speedup.
- Minor Changes


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1230 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-21 07:09:39 +00:00
cottonvibes 31c5c234ef microVU: minor changes
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1229 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-20 23:18:19 +00:00
gabest11 2aec2318cc GSdx: found a compiler def for stl that removes a lot of iterator checks in the release build.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1228 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-20 21:22:37 +00:00
ramapcsx2 a0546736a1 mVU: minor fix for branches, improving compat a wee bit.. like lots :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1227 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-20 20:15:34 +00:00
gabest11 09ee76d9ed GSdx: optimized local-local transfer a bit, it boosts fps in games like ffxii or ico, which do a lot of moves in local memory.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1226 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-20 15:35:31 +00:00
cottonvibes 23c833e922 microVU:
- Fixed a Q/P instance bug. This fixed some graphical corruption in Haunting Ground, might fix some other games too.
- Minor Changes...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1225 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-20 03:05:36 +00:00
Jake.Stine faf535a461 Added COMI.SS/COMI.SD to the emitter (and moved UCOMI from moremovs to comparisons, where it belongs -- oops)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1224 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-19 23:37:20 +00:00
arcum42 9eda5dc951 Linux: Fear and Loathing in GCC 4.4.0...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1222 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-19 13:25:09 +00:00
arcum42 134f02babb Linux/microVU: Uninline a function that isn't inlinable according to gcc, so microVU is compilable on Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1221 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-18 13:08:35 +00:00
cottonvibes 3019f7d02c microVU:
- Fixed the bugs with the logical min/max code (DaZ should work fine again)
- Optimized some lower instructions a bit.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1220 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-18 11:13:30 +00:00
gabest11 5f392aba63 GSdx: now I think only the window classes of mfc are left to be replaced (main window, config dialog), trying to get familiar with wx...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1219 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-18 11:08:04 +00:00
gabest11 3f9a45c8aa Cleaned up the dummy MTGS gif transfer function a bit, and let the F5-F7 keys to be passed in GSkeyEvent (allows me to remove windows specific keyboard handling from the gs).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1218 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-18 10:50:43 +00:00
cottonvibes a974cff9bd microVU:
- Raised the run-cycles amount. This fixes FFXII's missing geometry (the game appears perfect now :p)
- mVU prints a message to console now if games are exiting early due to infinite loops (I'm interested in games that do this, so post any game you find that does this. Dark Cloud does this for example...)
- Added some debug stuff to iVU1micro.cpp.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1216 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-18 06:24:12 +00:00
cottonvibes 4b5117c078 microVU:
- Fixed a bug with P-reg's instances; this fixes problems/SPS in a lot of games such as (FFXII, NaN3, Digimon Rumble Arena 2, etc...)

Note: All the games mentioned still have other problems (ffxii for example has missing geometry on characters, but looks a lot better than before :p).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1215 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-18 03:07:23 +00:00
arcum42 1a53f45b2c Some work on variable type consistancy, and getting rid of 64 bit processor checks.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1214 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-17 21:57:24 +00:00
refraction 1b012e9dd9 Half revert for earlier commit, didnt really make any difference to GT games anyway, just hoped itd effect path3 masking :P
Btw, if it doesnt work, Blame Krakatos, he said it does!

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1212 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-17 12:50:16 +00:00
cottonvibes 942e7e9231 microVU:
- Crashes when "microVU Error: Program went over its cache limit" message occurs should be fixed.
- Miscellaneous code changes and cleanups.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1211 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-17 11:34:00 +00:00
arcum42 0391b76015 Linux: Fix the exeption check up a bit, and mess with the configure.ac file. It should now be possible to compile with versions of gcc lower then 4.3, though I haven't tested that.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1210 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-17 09:23:32 +00:00
cottonvibes ac00db5dd5 microVU:
- Added partial program searching support (helps to recompile less in games that send a lot of small programs like Tekken 5)
- Optimized logical min/max code some more (knocked off 2 instructions)
- Fixed some cases where 'last_used' should have been set.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1209 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-17 08:22:00 +00:00
Jake.Stine f6ce237b8e Did some general cleanups to vtlb's memory protection and recompiled block integrity checking systems.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1208 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-17 03:57:18 +00:00
arcum42 e1b38852b6 Linux: Take back out the logging message from 1204-1205, since Jake seems to be done with it. Remove the messages printed in Exception handing, and set up a test to abort if it's endlessly looping on one offset.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1207 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-17 02:21:39 +00:00
Jake.Stine e6627c5e78 Linux: Typo fix from prev commit. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1206 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-16 21:07:30 +00:00
Jake.Stine c07a79741e Linux: Added a console log regarding page protection, based on a hunch I have for what's causing Issue 220. [need a linux person to check it and see if the console logs the new error or not]
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1205 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-16 19:45:30 +00:00
refraction 757098e66a GT menus look much better now (GT4 at least) - Bugfix from r1197
Note to users: Does this fix ToA or Persona?

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1204 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-16 16:10:16 +00:00
cottonvibes 2c3043862d microVU:
- Cached Program search is faster/smarter thanks to an idea Jake had to search recently used blocks first.
- Fixed a problem with block searching.
- Minor changes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1203 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-16 08:43:56 +00:00
arcum42 9d38252d0e Let's try that again...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1202 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-16 07:24:31 +00:00
arcum42 15821b465a Work on pcsx2's Makefiles a bit. Move CDVD*.* and CdRom.* to a separate subdirectory, to make things a bit less cluttered.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1201 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-16 04:26:10 +00:00
arcum42 d676d2ee44 Break out a bunch of clutter from CDVD.h into its own file. Meant to do this a while back, but forgot about it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1199 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-16 01:32:49 +00:00
Jake.Stine e93b101f49 Cleanup: Moved some rather intrusive instances of global namespace pollution in Sio.h into a new sio_internal.h, so that the rest of the world doesn't have to ensure the pain of having BREAK and RTS macro'd to integers. ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1198 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-16 00:43:46 +00:00
refraction 728eb75e7a Half fix for Gran Turismo 3-4 menus. Some text is still garbled but better than it was. Oh this was done by implementing "Wait for GS transfers" a bit better than the previous attempt
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1197 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 23:19:22 +00:00
gabest11 b535039ee7 GSdx: blur removal works again
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1194 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 21:07:58 +00:00
arcum42 fc7bc70cfc Linux/Plugins: I left this out at some point...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1193 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 19:45:34 +00:00
gabest11 441aee367e GSdx: fixed a few more typos in GSVector4i, the black screen bug should be gone
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1192 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 11:11:26 +00:00
gabest11 a1507e6044 GSdx: this should fix d3d9 mode and the aspect ratio bug
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1191 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 07:48:51 +00:00
arcum42 667581e4be Linux: Fix focus problems with various dialogs when hitting escape, and hook in dev9's dialog box.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1190 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 07:02:51 +00:00
arcum42 5615929ce3 Linux: Work on dialog boxes for a bunch of plugins. mostly null plugins. Not finished, by any means, but this seemed like a good commit point.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1189 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 06:08:35 +00:00
cottonvibes 9390d5583a microVU:
-implemented Jake's suggestion for proper alignment in the microVU struct.
-minor optimizations/changes

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1188 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 04:51:53 +00:00
arcum42 c67bfbe648 microVU: fixed up microVU so that it compiles in Linux if the appropriate defines are uncommented, and runs surrealistically.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1187 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 02:46:35 +00:00
arcum42 fde4685f77 GSnull: A bit more work on the gif transfers.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1186 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 01:57:00 +00:00
arcum42 c671bba45a GSnull: Add some Gif Transfer code from pcsx2 (not currently hooked in).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1185 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 01:06:59 +00:00
arcum42 5b4935dd86 Zeropad: Archiving some hat work. Still disabled and buggy, but I want to be able to revert back here if neccessary.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1184 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 00:42:05 +00:00
arcum42 bddfd67bae Minor tweaks here and there. Removes a couple compiler warnings, adds in a -m32 flag I missed, and updates the Makefile a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1183 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-14 21:50:03 +00:00
gabest11 bdedc325a8 GSdx: just fixing the typos...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1182 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-14 20:44:17 +00:00
Jake.Stine 1f67f63ed5 Removed the microVU enabler define (oops >_<), and removed some SPU2 counters message since the code in question is behaving as intended.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1181 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-14 19:40:54 +00:00
Jake.Stine 729d90c1ce microVU:
* Smartened up the microprogram cache.  Programs are (quite accurately) selected based on how often and how recently they have been used.  Solves constant recompilation issues in games like FFXII and Tekken 5 [but not the SPS, sorry!].

* Changed memory allocation so that microprogram blocks are allocated *on demand* -- this saves a lot of memory and makes it possible to test 64-program caches (which would previously fail due to exceeding 2gb ram allocations!).  Also fixed a few small memory bugs in Init/Alloc, and made it so mVU only allocates memory once instead of on every reset. :)

* Tweaked uses of progSize in microVU.h so that it's consistent [all instances of progSize are (vumem_size / 4) now]

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1180 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-14 19:34:17 +00:00
gabest11 5648d07b96 GSdx: more refactoring (aka search and replace)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1179 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-14 16:41:52 +00:00