Commit Graph

5448 Commits

Author SHA1 Message Date
Peter Tissen ad9ec44228 prevent null dereference if no network device is selected in dev9 2014-05-24 22:12:26 +02:00
Gregory Hainaut 8775e51ebd Merge pull request #28 from Kingcom/Breakpoints
If a memcheck or breakpoint is triggered in a delay slot, stop on branch
2014-05-24 10:59:04 +02:00
Gregory Hainaut f11877e72c Merge pull request #48 from nE0sIghT/master
Fix Cg find for Gentoo amd64
2014-05-20 09:03:00 +02:00
nE0sIghT 66785be691 Fix Cg find for Gentoo amd64 2014-05-18 22:51:09 +04:00
gigaherz 1fb3de2960 cdvdGigaherz: Change the order in which the different reading modes are attempted. Seems to fix some CD-Rom games. While at it, renamed a rude variable with a better name. ;P 2014-05-16 22:36:16 +02:00
gigaherz 654343f875 Advanced (per-channel) Volume Adjustment AKA Room Correction (Windows-only, need someone to fix the linux counterpart) 2014-05-11 17:26:00 +02:00
Gregory Hainaut 0bf7a35a53 pcsx2: improve the GS read fifo API
1/ initReadFifo will be first called on the GS thread
    (openGL can only be done on the GS thread)

2/ readFifo will be called on the EE thread. It is not safe too access eeMem from GS
 because of memory is virtual

Fix "recent" regression (crash) on Kingdom heart and others game too.

v2: add a len check on GSState::InitReadFIFO
2014-05-06 20:28:18 +02:00
Gregory Hainaut 3a46634f4a gcc: fix a couple of gcc warning (sign compare)
My gosh, they're like rabbit :p
2014-05-06 09:25:00 +02:00
Kingcom 67f7eaabc7 If a memcheck or breakpoint is triggered in a delay slot, stop on the branch 2014-05-05 23:50:37 +02:00
Avi Halachmi (:avih) d28669761f gzip-iso: Speedup some cases by using more memory.
Significant speedup on some cases by using roughly another index size
in ram. The ram usage is now up to roughly cache size plus 2x index size.

This patch adds another index-like direct access point for each span we've
visited. This replaces the single z-state which was used for
sequential extraction, and does the same, but now it can continue
sequentially on most previously visited spans instead of only from
the last read.
2014-05-05 15:07:48 +03:00
Avi Halachmi (:avih) 8684596d66 gzip-iso: bugfix in zstate setup, cosmetic refactoring 2014-05-05 14:58:44 +03:00
Gregory Hainaut 460ee7f5de Merge branch 'Mirrors' of git://github.com/Kingcom/pcsx2 2014-05-05 09:39:35 +02:00
Gregory Hainaut b7536ca94b zzogl: gcc warning fix
Let's hope variadic macro work on visual

cmake: reenable various warning. With previous fixes it just a matter of a couple of warnings
2014-05-03 10:37:58 +02:00
Gregory Hainaut 58077c63a7 gcc-warning: check c function return. Print error when bad.
v2: properly check return code of fread/getcwd function
2014-05-03 10:32:05 +02:00
Gregory Hainaut 22b65489e2 gcc warning: constify const string 2014-05-03 10:18:27 +02:00
Gregory Hainaut 2816188c83 zzogl: bad function declaration 2014-05-03 10:18:27 +02:00
Gregory Hainaut 4d78b6be31 pcsx2/plugin: sign compare mismatch extra 2014-05-03 10:18:27 +02:00
Gregory Hainaut 5087d13de8 gsdx: remove/comment unused variable 2014-05-03 10:18:27 +02:00
Gregory Hainaut 4d6d5c870c pcsx2: remove useless volatile
Volatile is only useful as argument not the returned value
2014-05-03 10:18:26 +02:00
Gregory Hainaut dd8666036c pcsx2: sign compare mismatch 3/3 2014-05-03 10:18:26 +02:00
Gregory Hainaut 27a4bc5a39 pcsx2: sign compare mismatch 2/3 2014-05-03 10:18:26 +02:00
Gregory Hainaut 88f4d1e3a7 pcsx2: sign compare mismatch 1/3 2014-05-03 10:18:26 +02:00
Gregory Hainaut c6d8b52d26 pcsx2: try to ensure better sync with FIFO read call
First wait will ensure correctness of GS register.
2nd wait will ensure that the GS fifo read call is finished

(If I understand MTGS correctly)
2014-05-01 16:43:12 +02:00
Avi Halachmi 14efa6fbda gzip-iso: update VS2010/2012 projects (2012 untested) 2014-04-30 13:21:08 +03:00
Avi Halachmi (:avih) e859d3f3d1 gzip-iso: change zlib_indexed.c to .h 2014-04-29 23:33:28 +03:00
Avi Halachmi (:avih) 0f26be85b5 gzip-iso: fix compiler warning/error 2014-04-29 23:23:07 +03:00
Avi Halachmi (:avih) 49505ab93f gzip-iso: optimal small chunks sequential access 2014-04-29 11:26:35 +03:00
Avi Halachmi (:avih) 86a6fcddc0 gzip-iso: Better cache, more cpu for quicker extract 2014-04-29 02:41:30 +03:00
Gregory Hainaut c92de149a2 pcsx2: quick linux fix of recent addition 2014-04-27 22:45:28 +02:00
Avi Halachmi (:avih) 36fe83afcc Gzip ISO: add cache (50 chunks of 4M) 2014-04-27 22:51:58 +03:00
Avi Halachmi (:avih) 5771e6eae8 Indexed gzipped ISO support (slow - no caching) 2014-04-27 19:58:20 +03:00
Avi Halachmi (:avih) 7d491cb230 Adding zlib example files 2014-04-27 01:33:37 +03:00
Gregory Hainaut a86f2615be cmake: git compilation issue + useless warning message
* avoid compilation failure when git -C isn't supported
* don't print missing dependency when EXTRA_PLUGINS isn't activated
* sed /endif(.*)/endif/ because I don't like it
2014-04-17 20:42:56 +02:00
Gregory Hainaut c37d9c10f7 cmake: git compilation issue + useless warning message
* avoid compilation failure when git -C isn't supported
* don't print missing dependency when EXTRA_PLUGINS isn't activated
* sed /endif(.*)/endif/ because I don't like it
2014-04-17 20:26:16 +02:00
avih e39db3f9ad Merge pull request #30 from bositman/master
Added Metal Gear Solid 3 Subsistence Spanish
2014-04-17 13:59:51 +03:00
bositman 82f347403a Added Metal Gear Solid 3 Subsistence Spanish
to GSdx CRC hacks.
Refer here: http://forums.pcsx2.net/Thread-Metal-Gear-Solid-3-SLES-820-48-not-included-to-GSdx-fix
2014-04-17 13:53:06 +03:00
Avi Halachmi (:avih) 916d7502c8 Lilypad: Better focus/capture/uncapture handling.
1. After ALT-Tab to another window and back, now it accepts PCSX2
shortcuts properly (e.g. Esc or F6 etc) - focus changes were not
always recognized before.

2. If Lilypad is set to capture mouse, now it releases it on Escape. This
part is a small hack because the code looks as if it should handle it,
but in practice doesn't. This adds explicit uncapture on Escape.
2014-04-16 18:39:07 +03:00
Kingcom 42651c1500 Check mirrors in breakpoints and memchecks 2014-04-13 18:37:42 +02:00
Gregory Hainaut da4a785fae debian: make create tarball script compatible with git 2014-04-13 10:48:37 +02:00
Gregory Hainaut c2b78c6fdf license: again not yet perfect but much better
Remove old tsvn of zzogl
Add various header
add "is in public domain" for license in public domain so Debian's script catch it
2014-04-13 10:41:24 +02:00
Gregory Hainaut c260decf58 gsdx: add bsd3 clause on gsdx xbyak files 2014-04-13 10:06:52 +02:00
Gregory Hainaut 17eb468f38 win build fix: set utf8-bom 2014-04-13 10:05:26 +02:00
Gregory Hainaut 75c64e12aa license: add missing header
Still miss lots of copyright header but we are better
2014-04-12 19:42:41 +02:00
Gregory Hainaut ea25d12405 gsdx-gles: nvidia driver quick trial (only GLES3.0)
* Fix to create a 3.0 GLES context
* set a default precision to fix most of shader compilation issue
* Crash later because of GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
    => need to test opensource driver
2014-04-12 12:40:23 +02:00
Gregory Hainaut ca8c5b041d cmake: drop sparsehash_new module
It was a workaround for a buggy version of the lib.
2014-04-12 10:25:40 +02:00
Gregory Hainaut 414ce3589a cmake: new option -DEXTRA_PLUGINS=TRUE|FALSE
--extra for ./build.sh script

By default only build the pricipal plugin: GSdx|zzogl/spu2-x/onepad/UsbNull/Dev9Null

Extra plugins are: GsNull|zzogl-cg/Spu2Null|zerospu/PadNull

The purpose is to improve compilation time on linux
2014-04-11 09:18:31 +02:00
Gregory Hainaut 37b1d3ae42 codeblock: remove build file => linux is cmake only
They are completely out-dated. And nobody have time to update them.
2014-04-11 09:18:31 +02:00
Gregory Hainaut f984339404 pcsx2: reduce gamefix panel size
Move 2 sentences into the tooltip. Reduce both box and the useless empty space.

Unfortunately, translation would need to updated too.

Thanks Avih for the idea
2014-04-11 09:18:30 +02:00
Gregory Hainaut 86895cbf45 pcsx2 license: add missing nice header on various files
Remains 3 files that I don't know the source
pcsx2/windows/DwmSetup.cpp: *No copyright* UNKNOWN
pcsx2/windows/SamplProf.cpp: *No copyright* UNKNOWN
pcsx2/windows/VCprojects/IopSif.cpp: *No copyright* UNKNOWN

Remains 1 files in common that I don't know the source
common/include/comptr.h: *No copyright* UNKNOWN

Remains too much files in plugins that I don't know the source :(
2014-04-11 09:18:30 +02:00
Avi Halachmi (:avih) 18953e81bc Visual Studio re-Fix: and also build if git is available 2014-04-06 14:38:54 +03:00