Akash
ff89619b09
GSdx: Add an Enumeration for CRC Hack level
2017-02-21 10:54:03 +01:00
Gregory Hainaut
726f9d5312
gsdx ogl: improve error message on windows
...
* Common function
* Print an error id
* Don't exit on bad setpixelformat (it is illegal to call it twice)
2017-02-18 22:25:27 +01:00
Gregory Hainaut
f3adf4bf57
gsdx ogl: texture barrier is optional too
2017-02-18 20:11:56 +01:00
Gregory Hainaut
193d9f838b
gsdx ogl: mark 2 DSA functions as optional
2017-02-18 19:44:17 +01:00
Jonathan Li
1ff6eec1e3
isoreader:gzip: Avoid shallow copying z_stream objects
...
This prevents the internal state of the objects from becoming
inconsistent, which causes inflate() to fail with recent zlib versions
(1.2.9 and later).
2017-02-18 15:49:00 +00:00
Jonathan Li
c218ef3970
3rdparty: Update zlib from 1.2.8 to 1.2.11
2017-02-18 15:49:00 +00:00
Gregory Hainaut
674d22321a
gsdx wgl: drop GL2.0 context and avoid a context leak
...
Namely detach/delete context before throwing
2017-02-17 19:20:42 +01:00
Gregory Hainaut
cdb71101a1
gsdx ogl: As Intel is too cheap to provide GL_ARB_direct_state_access on theirs expensive iGPUs
...
Add a "slower" emulation of the extension...
Hopefully it will allow to start openGL on haswell (maybe broadwell) and later.
2017-02-17 17:44:26 +01:00
Gregory Hainaut
26993380b1
gsdx-ogl: black list 2016/2017.1 AMD driver
...
Based on AMD feedback, I'm might blacklist all 2017 drivers too.
2017-02-17 17:32:53 +01:00
Gregory Hainaut
da1bb43618
cmake: Add various missing file in CMakeLists.txt
...
Add some windows code path. It would reduce the burden to port Cmake to windows.
(sill miss 3rdparty/some plugins/...)
2017-02-16 20:11:57 +01:00
Robert Neumann
f86ea9f19b
GameIndex.dbf: Removed Shin Megami Tensei Digital Devil Saga series EE timing hack
2017-02-11 14:48:21 +01:00
Gregory Hainaut
0610690fa7
Merge pull request #1814 from PCSX2/greg/gsdx-wgl-context
...
gsdx wgl: retry to create a context without advance flag
2017-02-11 14:02:48 +01:00
Gregory Hainaut
de962d3e7e
gsdx wgl: retry to create a context without advance flag
...
Hopefully it will support more drivers #1813
2017-02-10 22:26:41 +01:00
Gregory Hainaut
213fa1c148
gsdx sw: init completely m_scanline buffer
...
The buffer contains extra room to avoid a segmentation fault due to an overflow.
Unfortunately the end of the buffer wasn't initialized which can lead to unexpected behavior.
Based on issue #1806 it could impact Guilty Gear X2
2017-02-08 19:42:54 +01:00
Gregory Hainaut
2a2a022792
gsdx ogl: add a texture barrier when target is read back
...
Fix graphical corruption in Nouveau/BUA/devil may cry
Issue #1805
2017-02-08 19:42:54 +01:00
Gregory Hainaut
ba91c8f0c2
gsdx opencl: warning+compilation fixes
2017-02-08 19:42:54 +01:00
Gregory Hainaut
c232f90d6e
cmake: add an option to enable openCL
...
Note: nothing work
2017-02-08 19:42:54 +01:00
Gregory Hainaut
d0b1162b15
gsdx ogl: drop fallback of GL_ARB_clear_texture
...
Mesa AMD was updated :)
all drivers[1] that support GL_ARB_shader_image_load_store got GL_ARB_clear_texture
[1] Intel driver misses others extensions to run GSdx
2017-02-03 21:56:24 +01:00
Gregory Hainaut
63944e8c43
gsdx ogl: allow to start without GL_ARB_texture_barrier
...
Rendering will be corrupted (for advance effects) if the driver doesn't support it.
However it allow to run with Mesa software emulation (or inside a virtual machine)
Note: mesa still requires an override of the buffer storage extension
MESA_EXTENSION_OVERRIDE=GL_ARB_buffer_storage
2017-02-03 21:56:24 +01:00
Gregory Hainaut
35ed991abe
pcsx2: set the size of the vector in the constructor
2017-02-03 21:56:24 +01:00
Gregory Hainaut
23d081ab21
common: remove an old gcc workaround
2017-02-01 18:24:51 +01:00
Gregory Hainaut
6d7b1f9dbd
common: move ssappendf in DisR59000asm.cpp
...
Legacy function to print EE opcode. It doesn't worth an extra file.
2017-02-01 18:24:51 +01:00
Gregory Hainaut
965fccaff0
common: use C++11 version vssappendf
...
* use std::vector instead of VLA
* remove windows code (optimization is useless here)
2017-02-01 18:24:51 +01:00
Gregory Hainaut
dc42c65dfb
gsdx: requires/allow BMI instruction in AVX2 build
...
So far BMI is inclusive in AVX2 CPU. Help compiler to generate better code
2017-02-01 18:24:51 +01:00
Akash
eda22c241d
GSdx: Improve robustness of ComboBoxInit()
...
Previously, the combobox will reach an indeterminate state whenever it's passed with a value out of range via ComboBoxInit(). To avoid such cases, let's initialize the current selection of the combobox with the front element of the settings vector whenever we detect an out of range value which is not declared in the vector.
To reproduce the issue, set "Renderer" to some sort of crazy value like 50 in the GSdx.ini file and it'll mess up the whole GSdx plugin dialog really bad. This patch prevents such undesirable behavior by simply selecting the front element in the vector when we read an unsupported value.
2017-02-01 11:29:38 +00:00
Huud
c56ac2cf3e
PCSX2: Remove Unused And Unneeded Argument. ( #1799 )
...
EE interpeter: remove unused argument
rdd is neither used, nor needed. It appears it was there to pass the _Rd_ word to write to, but the writing was moved to PHMSBH() to have one "if (_Rd_)".
Add a note on undefined behavior
2017-02-01 11:30:41 +01:00
Jonathan Li
af38b8bf97
pcsx2: Avoid having to translate the same strings twice
...
Both strings have almost identical strings present elsewhere in the code,
the only difference being that they use one less space.
2017-01-31 22:30:08 +00:00
Jonathan Li
c65e467c83
pcsx2:windows: Fix unreferenced local variable warning
...
Also fix some typos in the warning messages.
2017-01-31 22:26:03 +00:00
Gregory Hainaut
5751e38180
gsdx: use range loop instead of for_each
2017-01-30 17:58:39 +01:00
Gregory Hainaut
cf71049bd4
gsdx tc: use unsigned constant
...
Help the compiler to generate better code
C code:
uint32 addr = (i >> 3u) % MAX_BLOCKS;
uint32 row = addr >> 5u;
uint32 col = 1 << (addr & 31u);
ASM Before
f48: mov eax,esi
f4a: mov ecx,esi
f4c: mov edx,DWORD PTR [ebp+0x8]
f4f: sar eax,0x1f
f52: sar ecx,0x3
f55: shr eax,0x12
f58: add ecx,eax
f5a: and ecx,0x3fff
f60: sub ecx,eax
f62: mov eax,0x1
f67: shl eax,cl
f69: shr ecx,0x5
f6c: lea edx,[edx+ecx*4]
ASM After
f48: mov ecx,edi
f4a: mov eax,0x1
f4f: sar ecx,0x3
f52: shl eax,cl
f54: shr ecx,0x3
f57: and ecx,0x7fc
f5d: add ecx,DWORD PTR [ebp+0x8]
2017-01-30 17:54:29 +01:00
Gregory Hainaut
da054a2aab
gsdx: remove useless debug log
2017-01-30 17:54:21 +01:00
Gregory Hainaut
09b8aaed71
gsdx tc: extend the wrap option to the texture cache
2017-01-30 17:54:07 +01:00
Akash
bf10873405
GSdx: Remove useless check and add debug messages
...
IsEnabled() check is already done in GetDisplayRect, so it's pointless to do it here. Also updated a debug message in the GetFrameRect() function.
2017-01-30 15:29:28 +01:00
Akash
a2cdcb4e4d
GSdx-PCRTC: Improve output circuit selection
...
Previously, the auto output circuit selection of the GSdx wasn't good, it simply defaulted to the second output circuit even when the first output circuit is also enabled. The new algorithm for auto selecting returns the merged rectangle dimensions when both of the output circuits are enabled and if the condition for merge is not satisfied then it returns the bigger output circuit.
2017-01-30 15:29:28 +01:00
Gregory Hainaut
bccc3ef253
Merge pull request #1770 from np511/gcc-cleanup
...
Cleanup GCC warnings - still needs some work
2017-01-30 15:28:33 +01:00
np511
e5e601eb75
Use GResources API instead of deprecated inline
2017-01-29 09:06:22 -05:00
np511
15d66cf337
Properly format
2017-01-29 09:06:21 -05:00
np511
936d9edc4c
Remove old/pointless code
2017-01-29 09:06:21 -05:00
np511
de6216b37b
Remove warnings about ISO C++11 conformance
2017-01-29 09:06:10 -05:00
Gregory Hainaut
72d54d3df6
Merge pull request #1792 from FlatOutPS2/Core
...
GameDB: Add game fixes for Silent Hill 2 and 3
2017-01-27 14:20:46 +01:00
FlatOutPS2
7ff28ab5ae
GameDB: Add fixes for Silent Hill 2 and 3
...
Adds FMVinSoftwareHack gamefix to the game fixes list and activates it
for Silent Hill 2 and 3.
2017-01-27 13:05:41 +01:00
Gregory Hainaut
9393b20e13
Merge pull request #1791 from turtleli/remove-old-cdvd
...
Remove old cdvd plugins
2017-01-27 11:10:07 +01:00
Jonathan Li
754045b6f7
gsdx:windows: Remove SSSE3 and AVX configurations
2017-01-27 11:06:30 +01:00
Gregory Hainaut
972c907ac2
Merge pull request #1794 from turtleli/add-cdvd-block-dump-menu
...
pcsx2:gui: Add menu item for creating block dumps
2017-01-27 11:05:47 +01:00
lightningterror
f0393e50c2
GSdx: Windows gui updates ( #1768 )
...
* Rename CRC Hack Level "Full (Safest)" to "Full (Direct3D Recommended)"
* add link/info of AMD driver epic fail status
2017-01-27 11:00:23 +01:00
Jonathan Li
625c4a9a05
Merge pull request #1751 from FlatOutPS2/Lily
...
LilyPad: Another GUI update and add more new functions
2017-01-27 00:22:44 +00:00
Jonathan Li
56c2d20b90
pcsx2:gui: Add menu item for creating block dumps
2017-01-26 18:48:07 +00:00
FlatOutPS2
8d00ae25c4
LilyPad: UI restructure
...
UI restructure and improvements.
2017-01-26 19:46:37 +01:00
FlatOutPS2
6074d60a90
LilyPad: Replace Turbo hack
...
The "L3 Toggles Turbo" hack has been removed and been replaced by a
bindable Turbo button on the Pad tabs. The Turbo function in the input
configuration has been renamed Rapid Fire.
2017-01-26 19:46:36 +01:00
FlatOutPS2
6e54dfe5ba
LilyPad: Remove outdated hacks
...
Removes Ignore Key(hasn't functioned since LilyPad 0.9.9 (PCSX2 0.9.6)),
and "Send escape on window close" hack (unnecessary for PCSX2 and caused
issues with other emulators).
2017-01-26 19:46:36 +01:00