Commit graph

18673 commits

Author SHA1 Message Date
Markus Wick
8bd1be643c Merge pull request #3059 from lioncash/vtx
VertexLoaderUtils: Get rid of pointer casts
2015-09-18 13:45:14 +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
Ryan Houdek
6dd212d384 Merge pull request #3044 from degasus/arm
JitArm64: Fix lmw + stmw
2015-09-16 06:26:39 -04:00
Lioncash
8aac59418b JitCache: Get rid of pointer casts
Silences more ubsan runtime asserts
2015-09-16 06:25:48 -04:00
degasus
3ae466a33c JitArm64: Fix lmw + stmw 2015-09-16 08:11:18 +02:00
flacs
955bef226e Merge pull request #3041 from lioncash/align
Common: Get rid of a few pointer casts
2015-09-15 20:40:05 +02:00
Lioncash
2c5c99ec71 Common: Get rid of a few pointer casts 2015-09-15 12:28:59 -04:00
Markus Wick
7eeeb9f754 Merge pull request #3039 from lioncash/typedef
VideoCommon: Remove unnecessary enum typedef
2015-09-15 07:05:25 +02:00
Lioncash
77d3bed058 AX: Use ArraySize over sizeof division
Also gets rid of magic numbers in volume ramp generation.
2015-09-14 23:55:09 -04:00
Lioncash
b7739f5d85 VideoCommon: Remove unnecessary enum typedef 2015-09-14 19:43:31 -04:00
flacs
23f36b1824 Merge pull request #3038 from lioncash/prototype
BreakPoints: Remove unimplemented function declarations
2015-09-14 18:13:03 +02:00
Lioncash
56560403bd BreakPoints: Remove unimplemented function declarations 2015-09-14 11:50:34 -04:00
JosJuice
210aa774d5 DolphinWX: Only read titles.txt once
titles.txt is read into a map and passed to the GameListItem
constructor, making game list scanning a bit more efficient.

ISOPropreties's constructor is changed to take a GameListItem as an
argument instead of creating one on its own, because ISOPropreties
doesn't have the titles.txt map that the GameListItem constructor wants.
2015-09-13 14:17:58 +02:00
JosJuice
10aafff5b9 DolphinWX: Fix sorting games by custom titles
The custom title reading code is moved so that custom titles are
returned by GameListItem::GetName(). The comparison code is changed
to use GetName() instead of GetName(DiscIO::IVolume::ELanguage).

GetName(DiscIO::IVolume::ELanguage) must not return custom titles,
because netplay relies on it returning the same name for all players.
2015-09-13 12:45:06 +02:00
Scott Mansell
45c1cfa078 Merge pull request #2242 from Stevoisiak/Titles.txt
GameListCtrl: Improvements for reading custom game titles
2015-09-13 14:03:47 +12:00
Scott Mansell
3e4b62797c Merge pull request #3033 from JosJuice/stick-names
Use official names for GameCube controller sticks
2015-09-13 13:14:10 +12:00
JosJuice
cbd539eb3d Use official names for GameCube controller sticks
Main Stick is changed to Control Stick and C-Stick is changed to C Stick.

A new ui_name variable is added to ControlGroup so that the UI strings
in DolphinWX can be updated without breaking backwards compatibility
with config INIs and other things that use names as IDs.
2015-09-12 22:45:06 +02:00
Scott Mansell
c0a89c3bf4 Merge pull request #3009 from phire/depth_tested_pokes
Add some logging for depth tested efb color pokes.
2015-09-12 22:20:59 +12:00
Scott Mansell
44456bec0f Add some logging for depth tested efb color pokes. 2015-09-12 22:19:59 +12:00
Scott Mansell
66dd79c569 Merge pull request #3010 from Felk/master
fixed disabling auto reporting for emulated wiimotes not working properly
2015-09-12 21:40:25 +12:00
flacs
f56117534e Merge pull request #3029 from Tilka/fix_warning
Debugger: fix -Wunused-private-field warning
2015-09-12 08:13:06 +00:00