Gregory Hainaut
a4a0b42f8f
recompilers: handle the memory by big block (instead of 4KB)
...
VIF recompilers: full size
EE/MVU/IOP: 1/4th of the size
Lazy allocation is still enabled but it will less triggered.
Next step is to always commit the first block
2015-11-12 10:35:10 +01:00
Gregory Hainaut
7565bcc789
ee: drop SpatialArrayReserve allocator
...
Let's the kernel manage the memory either with builtin lazy allocation or
swapped memory.
Avoid to handle SIGSEGV manually (nicer for debug) and removes 250 lines of code.
2015-11-12 10:35:10 +01:00
Gregory Hainaut
71c8adcfb2
Revert "pcsx2: apply patch when first block is compiled"
...
This reverts commit fa1199ac24
.
Got a crash on Gran Turismo 4 (devil may cry 3 too)
2015-11-12 10:05:51 +01:00
Jonathan Li
4eb57cde0e
gsdx: Adjust current renderer message
...
The leading space was really annoying me. Also make the variable local
instead of static.
And fix a bad indentation.
2015-11-11 18:52:52 +00:00
Jonathan Li
d952811ec8
debugger: fix help text typo
2015-11-11 18:48:04 +00:00
Gregory Hainaut
916c80d53f
Merge pull request #963 from PCSX2/game-starting-too-late-i627
...
Call eeGameStarting sooner
2015-11-11 10:46:06 +01:00
refractionpcsx2
52802371e4
GSdx D3D11: Workaround for Gust games, must enable sprite hack (which these games need anyway) and it will fix the squares caused by the Nvidia fix. Not a perfect solution but we can't have it both ways :(
2015-11-10 22:58:53 +00:00
Gregory Hainaut
ac0e40a2b7
onepad: safely dispatch rumble action
...
Fix onepad crashes
2015-11-10 08:12:20 +01:00
Jonathan Li
d62d2abf59
Merge pull request #925 from willkuer/GS_Renderer_Enum
...
Gs renderer enum & default renderer handling
2015-11-10 00:09:01 +00:00
willkuer
9245d3ed7e
gsdx: RendererEnum
...
1. Add GS_Renderer Enum
Replace all instances of int/uint32 renderer identifier by a strongly
typed enum and appropriate casts.
Only instances in GS[*].cpp/h classes were touched. GPU[*].cpp/h classes
do not to follow the same convention.
2. Add default renderer according to OS
The default renderer is OS dependent (Win -> Dx9HW, others -> OGLHW).
Consequently one should always check againt the appropriate default
value on config load.
The old behaviour was only - if a at all - problematic if the respective
element in the gsdx.ini was missing and probably even then didn't create
issues. The current implementation is still more stable and does not
depend on the implementation of GS.cpp -> GetConfig()
2015-11-10 00:26:39 +01:00
Gregory Hainaut
fa1199ac24
pcsx2: apply patch when first block is compiled
...
Previous behavior apply the patch when first block is executed (it is
already too late)
Fix #627
2015-11-09 22:44:11 +01:00
Gregory Hainaut
321193cf44
Merge branch 'master' of github.com:PCSX2/pcsx2
2015-11-09 22:43:27 +01:00
Jonathan Li
44d89308c9
Revert "Revert "gsdx|spu2-x: Use atlcomcli.h for CComPtr definition""
...
This reverts commit 9bb990e9ed
.
Fight! Ahem...
2015-11-09 20:55:07 +00:00
Jonathan Li
b6f78d8d95
gui:windows: Fix pxStaticText colours in Emulation Settings
...
The window is redrawn when Layout() is used (I think), so the text is
repainted with the correct colour.
This fixes the gray/ungray behaviour in the Emulation Settings dialog.
(Specifically, it affected the GS, Speedhacks, and Game Fixes Panel).
2015-11-08 22:07:20 +00:00
Jonathan Li
9bb990e9ed
Revert "gsdx|spu2-x: Use atlcomcli.h for CComPtr definition"
...
This reverts commit 0eb771c2a6
.
The buildbot apparently cannot find atlcomcli.h. Oh joy.
2015-11-08 20:46:41 +00:00
Gregory Hainaut
2ef9b732e2
build: reduce the scope of cppcheck
...
Faster for GSdx analysis
2015-11-08 21:37:03 +01:00
refractionpcsx2
dfd52282a7
Vif: Fix for Warship Gunner 2 geometry holes. Fixes Issue 665
2015-11-08 18:42:55 +00:00
refractionpcsx2
545e47aacc
Merge pull request #960 from ssakash/SPU2-Xconlog
...
SPU2-X: Update Console log to display Delay Cycles from the INI
2015-11-08 14:31:15 +00:00
Jonathan Li
85a1817ecc
gui: Make Plugin/BIOS selector dialog wider
...
If the plugin info is too long it becomes truncated on Windows, which
could be quite annoying for testing.
2015-11-08 13:32:32 +00:00
Jonathan Li
49ff324882
Merge pull request #955 from turtleli/replace-comptr-h
...
gsdx|spu2-x: Use atlcomcli.h for CComPtr definition
2015-11-08 13:27:28 +00:00
Akash
a45f3ac5d6
SPU2-X: Handle INI changes to variable on Conlog
2015-11-08 10:47:03 +05:30
refractionpcsx2
8ed56bd971
Merge pull request #953 from ssakash/SPU2-X_debug
...
SPU2-X: New INI variable for cycle delay
-Configurable for Higurashi no Naku Koro ni Matsuri Kakera Asobi (SPLM-66913)
2015-11-07 16:54:54 +00:00
Gregory Hainaut
870e799baa
memcpy: remove AMD copyright
...
memcmp comes from zerofrog (him or external) but likely not AMD
https://www.cs.virginia.edu/stream/FTP/Contrib/AMD/memcpy_amd.asm
2015-11-07 15:57:34 +01:00
Akash
ff77708e0e
SPU2-X: New INI variable for cycle delay
2015-11-07 20:16:23 +05:30
Gregory Hainaut
30866833ef
mv fps2bios to unfree
...
Code are likely free but don't have any copyright header :(
2015-11-07 15:42:47 +01:00
Gregory Hainaut
0029956221
add an unfree directory
...
The idea is to copy files that don't have a clean situation.
Please edit the readme to explain the issue.
2015-11-07 15:08:18 +01:00
Gregory Hainaut
8fb6f0f328
debug: properly redo VU dissassembler function
...
I misses some calls in DisVUops. Use a macro to directly output the string
in the correct buffer position.
2015-11-07 13:55:47 +01:00
Gregory Hainaut
e5f9923f76
onepad: fix the reset screen saver commit...
...
Thanks @olegv11 for the review
2015-11-07 13:19:46 +01:00
Gregory Hainaut
2b02a7433f
onepad: reset the screen saver every 4096 Vsync
...
I didn't put the code in PCSX2 because it requires the display pointer.
And I'm afraid of multithread issue.
Related to issue #942
2015-11-07 11:03:39 +01:00
Gregory Hainaut
83d578f39a
onepad: release shift when losing the focus
2015-11-07 10:45:10 +01:00
Gregory Hainaut
43390ec240
onepad: remove remaining XAutoRepeat* call
2015-11-07 10:42:15 +01:00
Gregory Hainaut
4ef0572ceb
gsdx-ogl: disable copy constructor
...
'class GSVertexBufferStateOGL' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
2015-11-06 23:01:59 +01:00
Gregory Hainaut
345a538c84
pcsx2: Clarify calculation precedence for '>>' and '?'
...
(cppcheck)
2015-11-06 23:01:58 +01:00
Gregory Hainaut
3e4c3353ce
gsdx-ogl: missing break
2015-11-06 23:01:58 +01:00
Gregory Hainaut
9f1649ae57
gsdx: use a type in sizeof
...
(warning) Suspicious usage of 'sizeof' with a numeric constant as parameter.
2015-11-06 23:01:58 +01:00
Gregory Hainaut
e4e68a6179
debug: 'ostr' is used as parameter and destination in s[n]printf().
2015-11-06 23:01:58 +01:00
Gregory Hainaut
7c6d2361af
gsdx: use scalar delete
...
(error) Mismatching allocation and deallocation: data
2015-11-06 23:01:58 +01:00
Gregory Hainaut
f3394b16b8
gsdx: use standard quote character
...
Nicer with tool that support ANSII text (cppcheck)
2015-11-06 23:01:58 +01:00
Gregory Hainaut
1aa6749956
cdvd: remove break after return
...
cppcheck:[pcsx2/CDVD/CDVD.cpp:1120]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary.
2015-11-06 23:01:58 +01:00
Gregory Hainaut
d4e088b726
build: add clang-tidy support
...
Slow and generate a 100k log!
Better to fix cppcheck/coverity/gcc(/clang) report first.
Anyway, clang-tidy incorporates clang-modernize (port code
to use some C++11 features)
2015-11-06 23:01:58 +01:00
Jonathan Li
0eb771c2a6
gsdx|spu2-x: Use atlcomcli.h for CComPtr definition
...
VS2013/VS2015 community includes it, so everything will still compile
for everyone.
Also delete common/include/comptr.h.
2015-11-06 18:52:33 +00:00
Jonathan Li
4ab092d011
Merge pull request #911 from ssakash/gsdx_debug
...
Gsdx: Add Mipmap (Software mode) and preload data frame to GUI.
2015-11-06 13:01:49 +00:00
Akash
754a7eb7de
GSDX: Update toggle key messages
2015-11-06 01:47:53 +05:30
Akash
d866b5592e
GSDX: Add two new options to GUI.
...
The following patch adds Mipmap option (software mode exclusive) and Preload Data Frame (Hardware mode exclusive) to the GSDX plugin settings for debug purposes.
2015-11-06 01:47:44 +05:30
Jonathan Li
372db4b539
Merge pull request #946 from turtleli/linux-console
...
gui:linux: Redirect stdout/stderr to the PCSX2 console
2015-11-05 18:15:50 +00:00
Jonathan Li
5f5556ee69
gui:linux: Show plugin stdout/stderr in pcsx2 console
...
Behaviour is now similar to Windows, except we can also show messages in
the terminal as well.
2015-11-05 18:12:45 +00:00
Gregory Hainaut
fa487474d2
build: s/\t/ /
2015-11-05 18:24:36 +01:00
Gregory Hainaut
41081e1b40
build: add a nice cppcheck option
2015-11-05 09:49:06 +01:00
Jonathan Li
45fb0ebcdf
Merge pull request #952 from PCSX2/hyperlink-copyright
...
spu2x: remove hyperlink in windows about box
2015-11-04 17:50:26 +00:00
Gregory Hainaut
d0ea904cdf
spu2x: remove hyperlink in windows about box
...
Code isn't free (and kinda useless)
2015-11-04 07:43:00 +01:00