Commit Graph

16367 Commits

Author SHA1 Message Date
Ryan Houdek 15e41c67f8 Change RunVertices' function arguments.
This reduces some dumb state shuffling when calling the emitted vertex loaders.
2015-02-13 12:16:06 -06:00
Ryan Houdek b989c2fd8f [AArch64] Fix another assert in the JIT register cache. 2015-02-13 12:16:06 -06:00
Ryan Houdek 814aaaf538 [AArch64] Implement a couple of emitter instructions.
These will be used with the vertex loader JIT recompiler.
2015-02-13 12:16:06 -06:00
Ryan Houdek 0252bbb33f [AArch64] Fix non-PCH build. 2015-02-13 12:16:05 -06:00
Ryan Houdek 8074d06270 [ARM] Fix poison memory functions.
We were poisoning 4x more data and overrunning our buffers. We don't want to do this.
2015-02-13 12:16:05 -06:00
Ryan Houdek 20dae1f210 [AArch64] Fix a bunch of emitter asserts.
Since I've added the msg handler. I found all these asserts that were backwards. So they were asserting on the correct arguments.
2015-02-13 12:16:05 -06:00
Ryan Houdek 57c66798fc [Android] Register panic alert handler.
This lets me see _assert_msg_ alerts on Android when passing dumb arguments to my AArch64 emitter.
2015-02-13 12:15:59 -06:00
Lioncash f2f2d61950 Merge pull request #2022 from Tilka/perf
Tools: add disassemble script for perf
2015-02-11 23:23:47 -05:00
Lioncash c7c6bdbf5a Merge pull request #2027 from Buddybenj/change-wording
Change Wording
2015-02-11 23:23:22 -05:00
Lioncash 20aa937824 Merge pull request #2036 from magumagu/remove-blockmerge-option
Remove setting "BlockMerging".
2015-02-11 23:22:08 -05:00
magumagu 49f223a211 Remove setting "BlockMerging".
It isn't hooked up to anything anymore, and it isn't the sort of thing we
want users messing with anyway.
2015-02-11 19:52:48 -08:00
magumagu 0e0a196a1c Merge pull request #1856 from magumagu/correct-translation-disable-2
Make address translation respect the CPU translation mode
2015-02-11 17:04:12 -08:00
Benjamin Przybocki 8cf4a57844 Change Wording
All of the other descriptions for drop-down menus use select.
2015-02-11 18:43:47 -06:00
Pierre Bourdon b7e455ece8 Merge pull request #2031 from degasus/master
ShaderGen: Fix pixel offset correction
2015-02-12 00:39:27 +01:00
magumagu 4193350d22 Memmap: add an explanation of Dolphin's memory layout. 2015-02-11 15:22:21 -08:00
skidau 4ff5ec7117 Merge pull request #1984 from mathieui/GCAdapter-fixes
Fix issues with the GC adapter handling code
2015-02-12 09:54:53 +11:00
magumagu aaee23d1b4 Fix ARM64 build for address translation changes. 2015-02-11 13:56:38 -08:00
magumagu e136c8a066 PowerPC: misc cleanup. 2015-02-11 13:56:36 -08:00
magumagu ac54c6a4e2 Make address translation respect the CPU translation mode.
The PowerPC CPU has bits in MSR (DR and IR) which control whether
addresses are translated. We should respect these instead of mixing
physical addresses and translated addresses into the same address space.

This is mostly mass-renaming calls to memory accesses APIs from places
which expect address translation to use a different version from those
which do not expect address translation.

This does very little on its own, but it's the first step to a correct BAT
implementation.
2015-02-11 13:56:22 -08:00
degasus c404e87226 ShaderGen: Fix pixel offset correction
We want to move the vertex by 1/12 pixel, but the old code
did miss the perspective division. So by multiplying with pos.w,
the position is moved correctly after the perspective division.
2015-02-11 20:54:15 +01:00
magumagu d9988ee9b5 Merge pull request #1987 from magumagu/thread-safety
Cleanup usage of atomic/threadsafe functions
2015-02-10 13:48:12 -08:00
magumagu 0f96a0104e Merge pull request #1752 from Buddybenj/clean-up
Clean Up
2015-02-10 11:39:14 -08:00
magumagu 1acd80f23f Merge pull request #1779 from riking/pr-rename-boot-from-dvd
Reword "Boot from DVD Drive" -> "DVD Backup" menu option
2015-02-10 11:07:44 -08:00
Lioncash 0ff6220f4e Merge pull request #2028 from lioncash/define
WiimoteEmu: Change define into a variable and move it to where it's used.
2015-02-10 12:16:56 -05:00
Lioncash 07556b4849 WiimoteEmu: Change define into a variable and move it to where it's used. 2015-02-10 11:46:04 -05:00
Markus Wick 2aef84d80c Merge pull request #2025 from phire/be-neobrain
Remove VBeam Speed Hack.
2015-02-09 12:55:58 +01:00
Scott Mansell 4cb01673a0 Remove now useless NumFields Function which always returned 1. 2015-02-10 00:48:06 +13:00
Scott Mansell 8f416821ad Remove VBeam Speedhack. 2015-02-09 23:10:30 +13:00
Markus Wick b79015186e Merge pull request #2023 from mrgreywater/d3d-efb-ms-crash-fix
D3D: Fixed crash rendering EFB textures with MSAA
2015-02-08 22:11:15 +01:00
mr.greywater 2434b531f3 D3D: Fixed crash rendering EFB textures with MSAA
Rendering EFB textures currently crashes with the D3D backend when MSAA is enabled, because the depth texture wasn't correctly resolved. An example for a crash would be starting Pokemon Snap with D3D and MSAA enabled.
2015-02-08 21:03:15 +01:00
Fiora 451c4f3c4b Merge pull request #1969 from JosJuice/dvd-decryption-optimization
VolumeWiiCrypted: Decryption optimization
2015-02-08 11:57:55 -08:00
Fiora 93c9eab8e5 Merge pull request #2008 from mrgreywater/master
Add COUNTRY_GERMANY to load german disks without warning
2015-02-08 11:55:45 -08:00
mr.greywater a1f8c232b2 Fix warning message when loading german discs
Added COUNTRY_GERMANY as EUR_DIR so it will not show the warning message that the GCM/ISO is invalid. Also refactors the code to remove duplicate code.
2015-02-08 16:38:35 +01:00
JosJuice 28b441ebea VolumeWiiCrypted: Replace some hardcoded values with constants 2015-02-08 10:31:17 +01:00
Lioncash 537b9e507b Merge pull request #1998 from FL-dolphinemu/align_g_HKData_struct
Vertical aligned all members of g_HKData struct.
2015-02-07 21:31:45 -05:00
Tillmann Karras fd374a7989 Tools: add disassemble script for perf 2015-02-08 00:39:54 +01:00
Lioncash 3767ddcacf Merge pull request #2019 from Buddybenj/website
Web Site -> Website
2015-02-07 17:06:23 -05:00
Fiora 73d65f3ad3 Merge pull request #1874 from magumagu/remove-unchecked-reads
JIT: cleanup instrction merging for idle loop and dcbst.
2015-02-07 13:48:22 -08:00
Benjamin Przybocki e75b5165c2 Web Site -> Website 2015-02-06 16:13:35 -06:00
skidau 8f4bcf3ec3 Merge pull request #2012 from lioncash/memswitch
Memmap: Fix switch fallthroughs
2015-02-06 21:47:24 +11:00
skidau 66d80b75e2 Merge pull request #1939 from Sintendo/dspjit_ccnits
Minor DSP JIT optimizations
2015-02-06 13:53:09 +11:00
Markus Wick 550dc273f3 Merge pull request #2014 from degasus/master
HotKey: fix warnings
2015-02-05 13:32:07 +01:00
mathieui 8e556603af Fix issues with the GC adapter handling code
If we successfully detach the kernel driver from the interface, we
should continue instead of aborting the setup.

And we should not use libusb_handle_events(), as the API says it is only
for backwards compatibility. Additionally, if the adapter thread is not
active, dolphin will take 60 seconds to close because the
libusb_handle_events() timeout is hardcoded to 60 seconds. Instead, use
libusb_handle_events_timeout_completed() with a timeout of 1 second.
Also, cancel the libusb transfers before the join(), to be able to close
the usb device without libusb screaming in the background (and
potentially crashing).

And finally, split the Init() and Shutdown() functions to avoid having
to init and exit libusb every time we neeed to detect the adapter.
2015-02-05 10:03:21 +01:00
Sintendo 46df8a5358 Correct clobber comments 2015-02-04 22:26:40 +01:00
Sintendo ca0790e9c9 Merge Update_SR_Register64_Carry functions 2015-02-04 22:26:40 +01:00
Sintendo 34afe08de9 Minor DSP JIT optimizations 2015-02-04 22:26:39 +01:00
degasus 68c70be960 HotKey: fix warnings 2015-02-04 20:19:16 +01:00
Markus Wick 235fa05171 Merge pull request #2013 from lioncash/emplace
Use emplace_* functions where in-place construction is preferable
2015-02-04 17:46:07 +01:00
Lioncash e07679114b Use emplace_* functions where in-place construction is preferable 2015-02-04 11:39:08 -05:00
Lioncash d7c6a7522d Memmap: Fix switch fallthroughs
Fixes a bug where out of range MEM2 accesses would hit the locked cache.
2015-02-04 08:28:52 -05:00