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
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
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
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
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
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
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
Lioncash
c6ea9eb7c3
JitCache: Remove unused define
2015-09-16 19:15:47 -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
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
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
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
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
Tillmann Karras
38ae572203
Debugger: fix -Wunused-private-field warning
2015-09-12 10:01:26 +02:00
mimimi085181
dd458b554d
Fix performance regression in Sonic the Fighters, introduced by PR#2001
2015-09-12 09:12:14 +02:00
Lioncash
baa9eacd51
LookUpTables: Make functions constexpr
2015-09-12 03:04:40 -04:00
Ryan Houdek
f121d7a8cd
Merge pull request #3026 from lioncash/constexpr
...
MathUtil: Make Clamp and IsPow2 constexpr functions.
2015-09-12 02:28:38 -04:00
Ryan Houdek
4d5baa4772
Merge pull request #3024 from LAGonauta/x-fi-audio-fix
...
Added X-Fi check and convert surround FLOAT to SHORT when it is detected
2015-09-12 02:27:16 -04:00
Ryan Houdek
5556781946
Merge pull request #3018 from Armada651/ogl-tab
...
OGL: Invert Top-and-Bottom mode.
2015-09-12 02:21:19 -04:00
Ryan Houdek
2e6db7dc27
Merge pull request #2991 from lioncash/pcast
...
EXI_DeviceIPL: Get rid of a pointer cast
2015-09-12 02:15:59 -04:00
Ryan Houdek
17ff069d4a
Merge pull request #3002 from degasus/master
...
OGL: reimplement SSAA based on ARB_gpu_shader5
2015-09-12 02:14:45 -04:00
Ryan Houdek
6d9b4d7d35
Merge pull request #3025 from Tilka/fixfix
...
VertexLoaderX64: fix 2GB warnings
2015-09-12 01:38:14 -04:00
Lioncash
3f4852a03d
MathUtil: Convert IsPow2 into a constexpr function
2015-09-12 01:26:05 -04:00
Lioncash
b9e360df7b
MathUtil: Convert Clamp into a constexpr function
2015-09-12 01:18:28 -04:00
Lioncash
113cc119de
Merge pull request #2829 from JosJuice/fix-wii-fst-size-2
...
Fix reading Wii FST size (for real this time)
2015-09-12 00:50:00 -04:00
Lioncash
fa62018c40
Merge pull request #2995 from endrift/tasinputdlg-threading
...
DolphinWX: TAS fixes, take three
2015-09-12 00:42:21 -04:00
Lioncash
5db4a60995
Merge pull request #2993 from JosJuice/dol-elf-qt
...
DolphinQt: Support ELF and DOL files in the game list
2015-09-12 00:38:51 -04:00
Lioncash
4de2bd3be4
Merge pull request #2833 from waddlesplash/dolphin-qt
...
DolphinQt: Rewrite 'About' dialog to match the new WX one.
2015-09-12 00:38:05 -04:00
Lioncash
4643da73a3
Merge pull request #3021 from waddlesplash/dolphin-qt-fixup
...
DolphinQt: Use more C++11, add more sanity to VS projects.
2015-09-12 00:36:35 -04:00
Scott Mansell
68b415ba87
Merge pull request #3019 from mimimi085181/store-base-hash
...
Store the base hash for paletted textures in the texture cache entries
2015-09-12 16:24:29 +12:00
Scott Mansell
02842cb34b
Merge pull request #3006 from phire/deadlock
...
Fix deadlock with KHR_debug.
2015-09-12 16:19:58 +12:00
Scott Mansell
ee7285a1db
Merge pull request #3008 from Lionel07/qt-screensaver
...
Qt: Disable Display Sleep when game is running (Windows)
2015-09-12 16:13:51 +12:00
Scott Mansell
2c67ad88cd
Merge pull request #3023 from JosJuice/qt-pixmaps
...
DolphinQt: Bring pixmaps up to date with DolphinWX and themes
2015-09-12 16:13:35 +12:00
Jeffrey Pfau
c08203b704
DolphinWX: TAS fixes, take three
2015-09-11 19:51:31 -07:00
Tillmann Karras
63c9fdd074
VertexLoaderX64: fix 2GB warnings
...
Unlike the CPU JIT, the vertex loader JIT already emits
position-independent code, so all we need to do is disable the warning.
2015-09-12 01:24:47 +02:00
Corwin Mcknight
b2e4019383
DolphinQt: Disable Display Sleep on Windows.
...
Disables Display Sleeping on Windows on DolphinQt while the game runs,
and re-enables it after the game closes.
2015-09-11 16:06:59 -07:00
flacs
c5685ba53a
Merge pull request #2972 from lioncash/align
...
General: Replace GC_ALIGN macros with alignas
2015-09-11 17:00:13 +00:00
Lioncash
d7acf06505
Merge pull request #2985 from JosJuice/iselfordol
...
DolphinWX: Don't use IsElfOrDol outside of ISOFile
2015-09-11 12:28:57 -04:00
LAGonauta
b98b55c7be
Added X-Fi check and convert surround FLOAT to SHORT when it is detected
...
Fixed braces, first try fixing mac compilation and removed useless NULL
comparison.
2015-09-11 13:22:04 -03:00
JosJuice
cb496994e3
DolphinQt: Bring pixmaps up to date with DolphinWX and themes
...
Also removed PLUGIN from names because there aren't actually any plugins.
2015-09-11 16:13:18 +02:00
JosJuice
ec8ede2600
DolphinQt: Support XML metadata in Homebrew Channel format
2015-09-11 16:02:39 +02:00
JosJuice
3e6d62ae9e
DolphinQt: Support banners in Homebrew Channel format
...
HBC uses files named icon.png for icons. This change makes Dolphin
support that file name, and also [executable file name].png
in case someone wants to have multiple files in one folder.
The HBC banner support is mainly intended for DOL and ELF files,
but it can also be used to override banners of disc images,
something that wasn't possible in the past.
That sure was simple compared to the wx version of this commit...
2015-09-11 16:02:38 +02:00
JosJuice
047ddb94a2
DolphinQt: Support ELF and DOL files in the game list
2015-09-11 16:02:14 +02:00
Lioncash
19459e827f
Partially revert "General: Toss out PRI macro usage"
2015-09-11 09:49:00 -04:00
waddlesplash
c75fd4d7c5
DolphinQt: Add some sanity to the VS projects.
2015-09-10 23:49:20 -04:00
waddlesplash
8fbf70ec55
DolphinQt: Make use of the C++11 signal/slot connection syntax.
...
Also use lambdas over one-line functions in some cases.
2015-09-10 23:31:40 -04:00
waddlesplash
0c1671973c
DolphinQt: Rewrite About dialog to match the new DolphinWX one.
2015-09-10 23:02:47 -04:00
mimimi085181
e408e0ab17
Store the base hash for paletted textures in the texture cache entries
2015-09-10 22:28:59 +02:00
Jules Blok
99c08c89bb
OGL: Invert Top-and-Bottom mode.
2015-09-10 22:22:26 +02:00
Ryan Houdek
3014feedc8
Merge pull request #3012 from degasus/destAlpha
...
VideoCommon: Drop "Disable destAlpha" hack
2015-09-10 13:56:43 -04:00
mimimi085181
38f6cf2089
Perform garbage collection for efb copies
...
This checks every TEXTURE_KILL_THRESHOLD frames, to see if the hash for the memory area of the efb copy has hanged. If it has changed, the efb copy can be removed, it wouldn't be used anymore. Before this pr, some efb copies would never be deleted.
Fixes issue https://bugs.dolphin-emu.org/issues/6101 and possibly some other VRAM leaks.
2015-09-10 11:58:58 +02:00
Scott Mansell
ef4974b6a2
Remove unused log type.
2015-09-10 18:39:32 +12:00
Scott Mansell
0ed1e977cc
Rearrange the logtypes into something closer to alphabetical order.
...
Also fix up a few of the long names.
2015-09-10 18:39:08 +12:00
Scott Mansell
de9310fe70
Split OpenGL errors into a separate logtype from Video errors.
...
Allows them to be enabled/disabled separately.
2015-09-10 18:38:45 +12:00
Lioncash
88c9c6d086
ExpressionParser: Make all control paths return a value in operator std::string
2015-09-09 22:41:47 -04:00
degasus
74b20e627c
VideoCommon: Drop "Disable destAlpha" hack
...
This option has no use any more, neither performance nor driver workaround.
2015-09-09 21:31:54 +02:00
Scott Mansell
38d05cd70f
Merge pull request #3007 from phire/khr_debug_notification
...
OpenGL: drop log level of some spammy KHR_debug messages.
2015-09-09 17:34:27 +12:00
Felk
786cf7c9ff
fixed disabling auto reporting for emulated wiimotes not working properly
2015-09-09 04:55:14 +02:00
Lioncash
8f13d50a4e
Merge pull request #2989 from lioncash/filter
...
DiscIO/VS: Remove an empty filter
2015-09-08 21:01:00 -04:00
Scott Mansell
a95adba39b
Drop DEBUG_SEVERITY_NOTIFICATION messages down to DEBUG_LOG
2015-09-09 12:22:52 +12:00
Scott Mansell
b9b80191d5
Fix deadlock with KHR_debug.
...
An KHR_debug callback could end up waiting for a mutex
on a thread which calls windows system functions.
While this is not expressly forbidden by the standards,
it does forbid directy calling windows system functions
from a KHR_debug callback. Close enough.
2015-09-09 12:05:24 +12:00
James Cowgill
50d5a9a9bc
HW: Fix spelling mistake
2015-09-08 21:11:28 +01:00
flacs
48031eaff7
Merge pull request #2974 from Tilka/fprf
...
Jit64: fix errors in FPRF calculation
2015-09-08 18:59:22 +00:00
flacs
0c381d6547
Merge pull request #2975 from lioncash/emit
...
x64Emitter: Simplify/compress some conditionals
2015-09-08 18:44:54 +00:00
Ryan Houdek
5d7f834cde
Add run count to the JIT profile information
2015-09-08 11:09:52 -05:00
Markus Wick
81c07d4919
Merge pull request #2990 from lioncash/noncopy
...
Common: Alter semantics of the NonCopyable mixin
2015-09-08 11:08:58 +02:00
Ryan Houdek
2e02de6587
Merge pull request #2998 from Sonicadvance1/GLES_BBox
...
[GLES] Enable bounding box support.
2015-09-08 02:38:54 -05:00
Scott Mansell
332e81d2d7
Merge pull request #2984 from JosJuice/dvdinterface-round-down
...
DVDInterface: Use ROUND_DOWN
2015-09-08 12:43:11 +12:00
degasus
664beea538
OGL: reimplement SSAA based on ARB_gpu_shader5
...
So i965 shall support it again.
2015-09-07 22:21:11 +02:00
Ryan Houdek
2ad26ab3e9
[AArch64] Fix Test&Branch to relative location instructions.
...
Wasn't masking by the size of the offset encoding so negative values were killing the instruction
Missed commiting this in my integer gatherpipe PR.
Fixes crashing on AArch64.
2015-09-07 13:38:58 -05:00
Ryan Houdek
bfb544e1fb
[GLES] Enable bounding box support.
2015-09-07 12:07:27 -05:00
Markus Wick
5585c5adc2
Merge pull request #2994 from aserna3/master
...
Properly implemented confirm on stop CLI switch
2015-09-07 14:00:17 +02:00
Ryan Houdek
a9a339a00c
Merge pull request #2962 from Sonicadvance1/aarch64_integer_gatherpipe
...
[AArch64] Implement integer gatherpipe writes.
2015-09-07 06:20:01 -05:00
Scott Mansell
1f800b80dd
Merge pull request #2960 from phire/improve_efb2tex
...
Make efb2tex behave much more like efb2ram.
2015-09-07 14:12:03 +12:00
Ryan Houdek
99a7dfaf5e
Merge pull request #2965 from Sonicadvance1/Android_config_changes
...
[Android] Fix multi-gamecube controller input, config changes
2015-09-06 20:07:32 -05:00