Commit Graph

5216 Commits

Author SHA1 Message Date
refraction@gmail.com 73a08536d1 VU Interpreter Branch Delays: Rethink of this. As it's completely undocumented and nobody seems to know exactly what goes on, i have made my own guess...
If the first branch is a branch instruction, then ignore the second.
If the first branch is a jump instruction, execute 1 instruction from the first jump, then execute the second branch. (This is the only confirmed thing i can find from people testing this)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5539 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-28 23:05:18 +00:00
refraction@gmail.com 26cac4d837 VU Interpreter: It seems doing JALR in a delay slot is not taken ( Evil Dead - Fistfull of Boomstick) So the game now works in VU1 interpreter only. Tried fixing up MicroVU but its too confusing. Got close but lots of missing textures :(
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5538 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-27 16:56:58 +00:00
ramapcsx2 82e4b1166a Fix for blockdumps, thanks gigaherz.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5530 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-19 19:33:10 +00:00
gregory.hainaut e6cd4129c2 gsdx-ogl-wgl:
* initialize the context status variable that take care of some startup hang
* cmake: don't link and compile EGL when it isn't requested


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5528 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-18 21:56:43 +00:00
gregory.hainaut e6e18607e0 gsdx-ogl-wnd: ooups
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5521 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-17 17:14:33 +00:00
gregory.hainaut 36f8dda3fe gsdx-ogl-wnd:
* implement GSWndEGL copy/pasted from zzogl.
* remove linux debugging shader that failed to compile on window
* add additional debug message during context creation


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5520 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-17 16:58:48 +00:00
gregory.hainaut c4dfd0c7c5 gsdx-ogl-wnd: gl.h doesn't provide same functions on linux and windows...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5519 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-17 15:24:55 +00:00
refraction@gmail.com f000b3603e VIF: Fixed a logic error from r5380 which broke The Simpsons Game
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5517 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-16 21:00:07 +00:00
gigaherz c46deeccde Updated portaudio to the svn revision 1885.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5513 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-16 18:28:22 +00:00
gregory.hainaut 58cc2ddd1f gsdx-ogl-wnd:
* Remove bad redefinition of glActiveTexture and glBlendColor pointer
* Remove glew dependency on linux
* s/OGL_DEBUG/ENABLE_OGL_DEBUG/ and enable it on debug


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5512 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-16 18:25:53 +00:00
gregory.hainaut fb9c4e5a61 gsdx-ogl-wnd:
* add a new config define ENABLE_OGL_MT_HACK to replace the define OGL_MT_HACK


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5511 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-14 09:25:16 +00:00
gregory.hainaut b65ad2c3e5 gsdx-ogl-wnd:
* move GL loading function into its own namespace
* Use manual GL loading on linux too and mostly drop glew dependency. (Not 100% clean we are still depends on some glew define, it will be fixed later)

Note: shaders still need to be copied manually from GSdx/res to bin/plugins


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5510 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-14 09:15:39 +00:00
ramapcsx2 c09f758602 gsdx-ogl-wnd: Build fix
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5509 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-12 23:41:31 +00:00
gregory.hainaut f82421eaf7 gsdx-ogl-wnd: really create a 3.0GL context
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5508 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-11 13:54:15 +00:00
gregory.hainaut ddbad1315b gsdx-ogl-wnd: forget 1 file
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5507 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-11 13:39:07 +00:00
gregory.hainaut 266af77420 gsdx-ogl-wnd: add GL function loading (done manually). It would be interesting to do the same on linux that would allow to drop glew depency.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5506 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-10 19:11:03 +00:00
gregory.hainaut f9ddd639b8 gsdx-ogl-wnd: Try to compile OGL backend on VS
* Update project files
* basic compilation fix: include stdafx, s/uint/uint32/
* add selection of the opengl renderer/device in gsopen

Remain to fix opengl function declaration/initialization


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5505 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-10 13:13:59 +00:00
gregory.hainaut cf2910f7ed gsdx-ogl-wnd: try to update VS to include 3rdparty and link with opengl32 lib
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5504 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-09 11:28:35 +00:00
gregory.hainaut c5a6b07b30 gsdx-ogl-wnd:
* fix C compilation issue

Remain 2 issues with VCS:
1/ need to add 3rdparty dir as include dir (zzogl seem to import common\vsprops\3rdpartyDeps.props)
2/ need to add opengl32.lib as additional lib


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5503 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-04 23:02:48 +00:00
gregory.hainaut 5e4bae5f5d gsdx-ogl-wnd: * add a preliminary context and wgl management
Note: don't expect to compile/work yet


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5502 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-04 21:33:24 +00:00
gregory.hainaut d91b28ac32 gsdx-ogl-wnd: forget one file ...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5501 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-04 15:47:11 +00:00
gregory.hainaut 4fb7474e9c gsdx-ogl-wnd: multiple VS compilation fix.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5500 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-04 15:41:37 +00:00
gregory.hainaut 4d90ad17a1 gsdx-ogl-wnd: update the MS build system. Not sure I got all verions.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5499 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-04 11:47:20 +00:00
gregory.hainaut f95d9bd989 gsdx-ogl-wnd:
* split GSwnd into GSWndOGL  and GSWndDX
* replace GSwnd static object by a dynamic pointer


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5498 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-04 11:41:51 +00:00
gregory.hainaut 6a827a9dfc GSdx branch to support various openGL window API (wgl/glx/egl)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5497 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-04 11:17:06 +00:00
gregory.hainaut 0046f4a6f7 debian:
* add libaio new dependency
* update create_pcsx2_tarball_from_svn_repository script to support svn 1.7


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5496 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-02 16:09:09 +00:00
gregory.hainaut 9421e105bd cmake: Use non standard arch parameter on Fedora's wxconfig. Close issue 1368
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5495 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-02 13:34:38 +00:00
gregory.hainaut d4280db1f0 i18n:
* new language: arabic
* update CS_CZ/es_ES/sv_SE/tr_TR/zh_CN
* refresh others translations


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5494 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-02 10:24:48 +00:00
ramapcsx2 c20de38d4c Make a rare IPU chain mode transfer error log be DevCon only.
The only known game to run into it is fine anyway (Phase Paradox).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5492 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-28 23:00:59 +00:00
gigaherz 5ceb0a139d Fix the fix, one line got lost during the backporting.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5491 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-28 13:45:17 +00:00
gigaherz 2fed2964f5 Backport the NRG fix to trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5490 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-28 13:41:43 +00:00
gigaherz 4a27edc8a3 Revert previous mistake.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5487 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-28 01:44:32 +00:00
gigaherz d2f3b4a7fc async-iso: First iteration of the experimental read-ahead system.
In this iteration, a simple read-ahead scheme is used where the next expected read begins as soon as the CDVD code calls FinishRead.
The expected improvement is close to 0 since a similar system is already in place in the core.

The next iteration should have an internal buffer, and use completion callbacks to initiate read-aheads as soon as the previous read is done, without waiting for the emulator to fetch the results of the previous operation.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5486 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-28 01:42:39 +00:00
gigaherz ac28815316 Merge async-iso branch into trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5484 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-23 19:21:23 +00:00
sudonim1@gmail.com 4eb5dedef1 Core: Changed when scratchpad DMA waits on the VU1 thread with MTVU active, might fix/speed up something.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5483 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-21 00:46:16 +00:00
refraction@gmail.com ac54bad33c VIF VU Execs: Fix for r5404 (the fabled Baldurs Gate fix). Need to check that when VIF ends there is no queued VU Exec left else it gets abandoned. Fixes freezing in Legends of Wrestling 2, possibly fixes the graphics on Warship Gunner 2
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5482 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-20 23:46:09 +00:00
refraction@gmail.com c46d422887 SPR VU Access (Again): Managed to get VU0 working the way we wanted it, thank to sudonim1 for pointing out where i was failing.
Also added a check for a possible scenario where SPR may try and read/write crossing VU0 memory boundaries in to mirrored space, could cause issues in games if it happens.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5481 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-19 20:20:14 +00:00
refraction f3844f026a SPR VU Access: Changed VU0 back to using physical memory map addresses, Doesn't seem to work the other way. Fixes CSI 3 - Dimensions of Murder SPS
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5480 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-16 14:23:47 +00:00
gregory.hainaut db1cd9a5c5 async-iso:
* add cmake plumbing for libaio
* add Native EOL style on cmake file


git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5479 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-13 16:11:53 +00:00
ramapcsx2 7f45b21be1 SPU2-X:
Just adding a log to devel builds. This is a curious case we want to be notified about.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5478 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-13 14:44:36 +00:00
refraction 71065506c1 Vif: Modified VIF FIFO reverse while VIF is active hack. Now just makes sure VIF is stopped before it swaps direction either way. Fixes Sled Storm.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5477 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-08 13:00:31 +00:00
gregory.hainaut 038dbd8401 async-iso: finish the linux port
Warning new dependency libaio. Cmake would need to be fixed later too.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5476 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-07 15:53:27 +00:00
ramapcsx2 401bd9201e async-iso: Fixed MSVC 2008 project file.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5475 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-03 20:02:43 +00:00
gregory.hainaut 7a1d67409d async-iso: linux. Create an empty FlatFileReader implementation. It will be completed later based on http://code.google.com/p/kernel/wiki/AIOUserGuide
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5474 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-03 19:53:27 +00:00
gigaherz cf5d7780ba async-iso: Some cleanups.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5473 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-02 18:16:23 +00:00
gigaherz f7a1e04a46 async-iso: Update the vs2010 project files.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5472 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-02 15:24:27 +00:00
gigaherz befc637441 async-iso: Uncomment and fix the blockdump creation code.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5471 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-02 14:20:42 +00:00
gigaherz 1871750733 Attempt at making blockdump loading faster, may go either way.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5470 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-02 01:43:15 +00:00
gigaherz b9f8be3323 Fix blockdumps containing 2352byte sectors.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5469 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-02 01:06:00 +00:00
gigaherz 6dcc908884 Fix blockdump reading, the disc type wasn't being properly detected.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5468 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-02 00:53:14 +00:00