Commit Graph

18846 Commits

Author SHA1 Message Date
Markus Wick 79bf93996f Merge pull request #3072 from lioncash/nothing-even-matrs
Jit_Util: Replace two MDisp usages with MatR
2015-09-21 14:33:14 +02:00
Lioncash bddcdd9d94 Jit_Util: Replace two MDisp usages with MatR
Same thing, less to read.
2015-09-21 08:20:35 -04:00
flacs 3df83e5717 Merge pull request #3069 from degasus/master
VideoSW: Don't raise a PanicAlert because of indices
2015-09-21 11:58:13 +02:00
flacs bbb1132d86 Merge pull request #3071 from lioncash/dsp
DSP Jit: Minor changes
2015-09-21 11:35:54 +02:00
Lioncash 67cfadf0bb DSPJitUtil: Use SCALE constants instead of magic numbers 2015-09-21 04:50:25 -04:00
Lioncash 29c674848d DSPJitRegCache: Make GetFreeXReg return by value
There's no reason to only modify an enum value by reference.
2015-09-21 04:24:09 -04:00
degasus be16901ae1 VideoSW: Don't raise a PanicAlert because of indices
It's not panic, it may just render wrong. And this case seems to happen often.
2015-09-20 13:13:47 +02:00
flacs 63c373c843 Merge pull request #3063 from lioncash/func
DSPJitRegCache: Fix function casing
2015-09-20 03:32:11 +02:00
flacs 403df299a6 Merge pull request #3066 from degasus/master
GLInterface: Fix VideoSW on linux + OSX (v2)
2015-09-20 03:30:46 +02:00
Markus Wick 1c502b76a5 Merge pull request #3065 from JosJuice/wad-id-exception
Fix 4.0-7767 regression: exception when handling short WAD IDs
2015-09-19 13:49:21 +02:00
degasus c976e14277 GLInterface: Fix VideoSW on linux + OSX (v2)
Our Video Software backend isn't OpenGL Core compatible, so we need a flag to alloc a compatible one.

v2: Fix AGL profile selection.
2015-09-19 13:22:55 +02:00
JosJuice e2e7fc9029 Fix 4.0-7767 regression: exception when handling short WAD IDs 2015-09-19 09:23:52 +02:00
flacs 9b08de9522 Merge pull request #3064 from phire/no_xp
VideoBackendBase: Remove check for XP.
2015-09-18 21:18:07 +02:00
Scott Mansell b6cd78a370 VideoBackendBase: Remove check for XP. 2015-09-19 07:10:44 +12:00
Lioncash c2cc8d7cd8 DSPJitRegCache: Fix function casing 2015-09-18 13:23:32 -04:00
Lioncash a23b20a3ae Merge pull request #3061 from lioncash/constexpr
Gekko: Make sign-extension functions constexpr
2015-09-18 11:18:59 -04:00
Lioncash 9f389fdccb Gekko: Make sign-extension functions constexpr 2015-09-18 11:14:45 -04:00
Markus Wick b293bd22d6 Merge pull request #3060 from dolphin-emu/revert-3054-master
Revert "GLInterface: Fix VideoSW on linux + OSX"
2015-09-18 13:48:47 +02:00
Markus Wick 8bd1be643c Merge pull request #3059 from lioncash/vtx
VertexLoaderUtils: Get rid of pointer casts
2015-09-18 13:45:14 +02:00
Markus Wick a7e9a154a5 Revert "GLInterface: Fix VideoSW on linux + OSX" 2015-09-18 13:40:09 +02:00
Scott Mansell 3f56480903 Merge pull request #3037 from JosJuice/titles-txt-sort
DolphinWX: Fix sorting games by custom titles
2015-09-18 17:41:32 +12:00
Scott Mansell 3ef103d1c9 Merge pull request #3058 from lioncash/override
ControllerInterface: Fix -Winconsistent-missing-override warnings on OSX
2015-09-18 15:24:54 +12:00
Lioncash c3332604fa ControllerInterface: Fix -Winconsistent-missing-override warnings on OSX 2015-09-17 15:15:15 -04:00
Lioncash 28d1001ff8 VertexLoaderUtils: Get rid of pointer casts
Eliminates most ubsan asserts that stem from VideoCommon when running starfield.
2015-09-17 14:24:11 -04:00
Scott Mansell 7681d7b67a Merge pull request #3056 from degasus/master
VideoSW: Remove unused function
2015-09-18 05:53:31 +12:00
degasus baf09c3af6 VideoSW: Remove unused function 2015-09-17 19:44:44 +02:00
flacs e4dfb2f6bf Merge pull request #3054 from degasus/master
GLInterface: Fix VideoSW on linux + OSX
2015-09-17 19:21:16 +02:00
Markus Wick edae1d3bcb Merge pull request #3055 from degasus/videosw
Video Software cleanup
2015-09-17 18:42:17 +02:00
degasus 3b5b80bf3c VideoSW: Drop SW bbox code
The hardware backends don't use this shared code any more, and it's not needed for video sw either. So this was just dead code.
2015-09-17 18:21:37 +02:00
degasus e3e0399af2 VideoSW: Drop HwRasterizer
I don't remember it being working, and nobody cares about performance of videosw.
2015-09-17 18:21:37 +02:00
degasus 48279c1840 GLInterface: Fix VideoSW on linux + OSX
Our Video Software backend isn't OpenGL Core compatible, so we need a flag to alloc a compatible one.
2015-09-17 17:52:56 +02:00
Markus Wick 52de4cc476 Merge pull request #3052 from lioncash/cast
x64Emitter: Remove pointer cast
2015-09-17 16:06:29 +02:00
Lioncash cfa43f64bf x64Emitter: Remove pointer cast
No more ubsan asserts in the JIT and x64 emitter code paths when running starfield.
2015-09-17 09:35:13 -04:00
Markus Wick 7974b7074c Merge pull request #3051 from lioncash/mul
Rasterizer: Use multiplication instead of shifts in DrawTriangleFrontFace
2015-09-17 09:34:18 +02:00
Lioncash a94300dd86 Rasterizer: Use multiplication instead of shifts in DrawTriangleFrontFace
The left-hand-side is negative at some point which is considered undefined by the standard.
2015-09-17 01:46:29 -04:00
Scott Mansell 1c17d3d653 Merge pull request #3050 from lioncash/const
Jit_Util: Mark a class function as const
2015-09-17 17:14:18 +12:00
Lioncash 00ffc47751 Jit_Util: Mark a class function as const 2015-09-17 00:21:50 -04:00
flacs 6940fc5ab9 Merge pull request #2947 from Rukario/my_branch
Updated terms in Netplay window.
2015-09-17 03:02:59 +02:00
flacs 78cd1d749e Merge pull request #3049 from lioncash/define
JitCache: Remove unused define
2015-09-17 02:59:35 +02:00
Lioncash c6ea9eb7c3 JitCache: Remove unused define 2015-09-16 19:15:47 -04:00
Lioncash e959779b14 Merge pull request #3048 from Tilka/unused
Fix -Wunused-private-field warning
2015-09-16 18:23:54 -04:00
Tillmann Karras b8f3519e49 Fix -Wunused-private-field warning 2015-09-16 23:31:53 +02:00
flacs 49ea15b950 Merge pull request #2873 from lioncash/netleaks
NetPlay: Fix a memory leak
2015-09-16 21:56:17 +02:00
Markus Wick 295b869304 Merge pull request #3028 from mimimi085181/sonic-fighters-regression-fix2
Fix performance regression in Sonic the Fighters, introduced by PR#2001
2015-09-16 21:53:03 +02:00
flacs 9e5f2ded86 Merge pull request #3040 from lioncash/arraysize
AX: Use ArraySize over sizeof division
2015-09-16 21:25:29 +02:00
flacs 29a0a2b626 Merge pull request #3043 from lioncash/jitalign
JitCache: Get rid of pointer casts
2015-09-16 21:22:01 +02:00
flacs 84f4c446de Merge pull request #3045 from lioncash/state
State: Increase savestate version
2015-09-16 21:19:21 +02:00
flacs ca7b999968 Merge pull request #3046 from phire/dx11-segfault
Remove segfault from DX11 backend.
2015-09-16 21:18:22 +02:00
Scott Mansell deeb1d8370 Remove segfault from DX11 backend.
Instead of blindly using the expected width, clamp it to the stride of the
buffer which dx11 returns. This prevents use from reading invalid memory
at the end of textures.

This doesn't solve the base issue of what to do when a game tries to copy
from outside the efb. On real hardware it returns random noise (biased
to all ones)
2015-09-17 02:22:00 +12:00
Lioncash 227c3aa259 State: Increase savestate version
This should have been done when GC_ALIGN macros were replaced.
2015-09-16 09:04:44 -04:00