Commit Graph

15253 Commits

Author SHA1 Message Date
Lioncash
612118e8e5 GekkoDisassembler: Fix disassembly of mtfsf's FM field 2015-05-24 01:51:07 -04:00
Lioncash
ac89d00718 DSPCaptureLogger: Add virtual destructor
Silences a warning.
2015-05-24 00:44:49 -04:00
Lioncash
c6088cdf31 Merge pull request #2442 from lioncash/netplay
NetPlayClient: Fix erroneous shifts for reconstructing system time.
2015-05-23 23:22:11 -04:00
Lioncash
1d2b29734a NetPlayClient: Rename time variables to be more self-explanatory 2015-05-23 23:07:52 -04:00
Lioncash
6dd10033d3 NetPlayClient: Fix reassembling of system time from packets
The shifts need to be swapped to correctly reassemble a 64-bit integer.
2015-05-23 23:06:30 -04:00
Lioncash
5c3fecc8e5 DolphinWX: Add missing breaks to a switch in RegisterView
Technically the fallthrough would never happen, as the row numbers correspond to the grid view (which will always be zero or greater). However, it gets rid of compiler warnings on higher warning levels.
2015-05-23 22:16:39 -04:00
Matthew Parlane
8f12cc5bc3 Merge pull request #2433 from lioncash/leak
WII_IPC_HLE_Device_net: Fix a leak with getaddrinfo
2015-05-23 19:27:06 +10:00
Lioncash
383b104af0 WiiWad: Use correct form of delete for arrays 2015-05-22 17:52:54 -04:00
Jules Blok
e31982474c OGL: Depth range inversion. 2015-05-22 23:52:22 +02:00
Jules Blok
88cc91030e VertexShaderGen: Use correct depth output when glClipControl is supported. 2015-05-22 23:52:21 +02:00
Jules Blok
522e721830 OGL: Add glClipControl support. 2015-05-22 23:52:20 +02:00
Eder Bastos
fe8d9e5a38 Android: Upgrade to newest Build-Tools version. 2015-05-22 17:14:28 -04:00
Eder Bastos
140826edd5 Android: Have build.gradle figure out what ABI and Toolchain to use. 2015-05-22 17:13:25 -04:00
Lioncash
9ad35cc986 ExpressionParser: Add missing break in UnaryExpression value setting 2015-05-22 15:02:22 -04:00
Lioncash
760a17abef WII_IPC_HLE_Device_net: Fix a leak with getaddrinfo 2015-05-22 13:15:27 -04:00
Markus Wick
ad9dae30a8 Merge pull request #2410 from lioncash/swatomic
Software: Convert most volatile variables to atomics
2015-05-22 14:11:16 +02:00
Lioncash
474188d606 Merge pull request #2432 from lioncash/android
ButtonManager: Pass strings by const reference
2015-05-21 22:37:47 -04:00
Lioncash
8a2f70b2ef ButtonManager: Pass strings by const reference 2015-05-21 22:22:52 -04:00
Eder Bastos
286af8be50 Android: Implement new EmulationActivity. 2015-05-21 20:14:03 -04:00
Tillmann Karras
df34d43936 Jit64: merge ps_sign into fsign 2015-05-21 12:33:37 +02:00
Tillmann Karras
36d6a16559 Jit64: merge ps_maddXX into fmaddXX 2015-05-21 12:33:37 +02:00
Tillmann Karras
c6147c5ed5 Jit64: merge ps_arith into fp_arith 2015-05-21 12:33:37 +02:00
Tillmann Karras
6d23b511a6 Jit64: merge tri_op into fp_tri_op 2015-05-21 12:33:37 +02:00
Tillmann Karras
dc220fa13d Jit64: merge ps_sel into fselx 2015-05-21 12:33:36 +02:00
Tillmann Karras
05a55de08f Jit64: optimize ps_sum 2015-05-21 12:33:36 +02:00
Tillmann Karras
6593ba7ecc XEmitter: add BLENDPS/BLENDPD 2015-05-21 12:33:36 +02:00
Tillmann Karras
ece0ef4ca8 Jit64: add packed optimization to frsp 2015-05-21 12:33:36 +02:00
Tillmann Karras
6b8ab5993a Jit64: make ForceSinglePrecision more versatile 2015-05-21 12:33:36 +02:00
Tillmann Karras
9792976ee9 Jit64: fix ForceSinglePrecisionS/P
This bug never broke anything because of how these functions are used.
Fixing it should avoid some false dependencies though.
2015-05-21 12:33:36 +02:00
Tillmann Karras
a7d753922d Interpreter: fix instruction table flags of frsp
frsp overwrites both ps0 and ps1 so frD is not an input. Regardless of
whether that's what the hardware does, it's what we do.
2015-05-21 12:33:36 +02:00
Ryan Houdek
eb94e742f1 [AArch64] Implement block profiling.
This is time based block profiling unlike the ARMv7 core.
I would like to add cycle counter based block profiling like the ARMv7 core, but it first requires writing a kernel module to enable the counters to userland applications
2015-05-20 22:23:59 -05:00
Eder Bastos
3e5e352fee Android: Implement an SQLite database-based game library. 2015-05-20 19:55:55 -04:00
Eder Bastos
4f6a5e0293 Android: Make floating action buttons use the correct accent color programmatically. 2015-05-20 19:46:48 -04:00
Eder Bastos
91c1c0b1b3 Android: Add SQLiteDatabase interface class. 2015-05-20 19:46:28 -04:00
Eder Bastos
5b0c047e0b Android: Remove inheritance from Game model, and improve the relevance of its content 2015-05-20 19:46:19 -04:00
Eder Bastos
4c786cb70c Android: Implement reading country value from game files. 2015-05-20 19:44:31 -04:00
Lioncash
12493c332c Merge pull request #2420 from sigmabeta/android-native-gradle-build
Android: Allow building of native code inside Android Studio / Gradle
2015-05-20 19:31:30 -04:00
Lioncash
23842cb75d Merge pull request #2413 from sigmabeta/android-lollipop-settings
Android: Implement Settings screen in new UI.
2015-05-20 19:14:22 -04:00
Lioncash
8dc2909c00 JitWindow: Add missing virtual destructor to HostDisassembler
HostDisassemblerLLVM has a destructor, but the class uses a pointer to the base class.
2015-05-20 12:27:47 -04:00
Jules Blok
05f42f94a0 OGL: Use floating point arithmetic to scale the depth value. 2015-05-20 14:22:30 +02:00
Jules Blok
05d60f4fef Revert "OGL: Change the depth buffer type to GL_FLOAT."
This reverts commit 4b2e04b862.
2015-05-20 14:22:29 +02:00
Jules Blok
9ef1ca4141 Revert "OGL: Switch depth buffers to GL_DEPTH_COMPONENT32F format."
This reverts commit be810eb750.
2015-05-20 14:22:28 +02:00
degasus
d91d935057 OGL: reimplement poke-color 2015-05-20 11:05:31 +02:00
degasus
c7bae5ad11 VideoCommon: Merge EFB pokes 2015-05-20 10:39:21 +02:00
Tillmann Karras
ad6b522c3b XEmitter: fix L bit in VEX prefix 2015-05-20 09:34:27 +02:00
Eder Bastos
4cded65320 Android: No longer require specification of NDK or Git paths in build.gradle. 2015-05-19 09:05:35 -04:00
Markus Wick
695a72c24c Merge pull request #2414 from Armada651/depth-clamp
VideoBackends: Clamp depth to uint24 range.
2015-05-19 14:44:34 +02:00
Eder Bastos
9c19d91e18 Android: Allow building of native libraries inside Android Studio / Gradle 2015-05-18 21:20:43 -04:00
Fiora
22317ac74c Merge pull request #2417 from Tilka/vex
XEmitter: VEX-related cleanup

I'm merging this solely because of the FMA3 error message
2015-05-18 16:23:23 -07:00
Fiora
ace0a6ec90 Merge pull request #2412 from Tilka/x64cpudetect
x64CPUDetect: fix AVX2/BMI1/BMI2/HTT detection
2015-05-18 16:22:23 -07:00
Fiora
b260500045 Merge pull request #2411 from Tilka/cosmetic
PowerPC: cosmetic changes
2015-05-18 16:20:52 -07:00
Markus Wick
cad23fe27b Merge pull request #2415 from Armada651/d3d-depthbuffer
Revert "D3D: Use a 32-bit floating point depth buffer."
2015-05-18 23:31:11 +02:00
Jules Blok
ef78941042 VideoBackends: Clamp depth to uint24 range. 2015-05-18 23:22:28 +02:00
Tillmann Karras
c2c31086ae XEmitter: restructure WriteVEXOp wrappers 2015-05-17 18:44:56 +02:00
Tillmann Karras
ae8efaa6a3 XEmitter: add VBLENDVPD and VCMPPD 2015-05-17 18:42:36 +02:00
Tillmann Karras
18e9241637 XEmitter: rename WriteVex to WriteVEX 2015-05-17 09:35:53 +02:00
Tillmann Karras
9e3f4df733 XEmitter: rename WriteRex to WriteREX 2015-05-17 09:35:53 +02:00
yerejm
e4e1fe5a9c Reset faked CPU extension support at test end to ensure test isolation. 2015-05-17 11:48:05 +10:00
Jules Blok
f7151a2a5c Revert "D3D: Use a 32-bit floating point depth buffer."
This reverts commit a224c604a3.
2015-05-16 22:16:31 +02:00
degasus
562b9d4a9f VideoCommon: Abort texture prefetching on low RAM
There is no nice way to correctly "detect" the "used" memory, so we just say
we're fine to use 50% of the physical memory for custom textures.

This will fix out-of-memory crashes, but we still might run into swapping issues.
2015-05-16 15:39:36 +02:00
degasus
242f7d964d CustomTexture: prefetch all available textures 2015-05-16 15:12:07 +02:00
Eder Bastos
ba591ea1ee Android: Add Settings Activity to new UI. 2015-05-15 10:45:00 -04:00
skidau
132ae5f457 Merge pull request #2349 from mathieui/remove-traversal-options-ui
Netplay: don’t show traversal server/port options (INI config only)
2015-05-15 12:34:05 +10:00
Eder Bastos
bb7f8c6753 Move AssetCopyService to the services package. 2015-05-14 20:44:52 -04:00
Tillmann Karras
7f57e27a65 x64CPUDetect: fix AVX2/BMI1/BMI2/HTT detection
On non-Windows platforms, ECX was not being initialized to 0.
2015-05-14 23:14:34 +02:00
Tillmann Karras
1b01911c01 Jit64: indent far code because it looks nice 2015-05-14 19:12:58 +02:00
Tillmann Karras
6c5e5cc7b8 PowerPC: clean up instruction tables 2015-05-14 19:12:54 +02:00
Tillmann Karras
accefbf0a5 JitBase: small cleanup 2015-05-14 19:08:07 +02:00
Tillmann Karras
5b023b83ec Jit64: rename twx to twX
We use the lower-case x to signal an optional Rc bit.
2015-05-14 19:08:07 +02:00
Tillmann Karras
2074abbe86 Jit64: drop unused argument from SetFPRFIfNeeded 2015-05-14 19:08:05 +02:00
Tillmann Karras
9723a4e2ed Interpreter: use IntDouble instead of casts 2015-05-14 18:59:05 +02:00
Lioncash
26a3eaf959 Software: Convert most volatile variables to atomics 2015-05-14 12:33:19 -04:00
Markus Wick
8290fa1e46 Merge pull request #2377 from degasus/zfreeze
PixelShaderGen: apply zfreeze before ztextures
2015-05-14 11:26:46 +02:00
skidau
e35148fe15 Merge pull request #2387 from lioncash/atomic
AudioCommon: Remove usages of volatile variables.
2015-05-14 13:31:28 +10:00
Eder Bastos
4710c3e0eb Android: Build separate APKs for each native platform. 2015-05-13 22:45:12 -04:00
Rohit Nirmal
df9b06d937 Fix building with PCH disabled. 2015-05-13 16:06:09 -05:00
degasus
3d98f6ab9f PixelShaderGen: apply zfreeze before ztextures
The zfreeze option freezes the depth plane of the rasterization.
So this is done before the TEV stages, where the z-textures are applied.
2015-05-13 20:06:23 +02:00
skidau
bdeb067597 Merge pull request #2402 from JosJuice/internal-title
Volume: Rename GetName to GetInternalName
2015-05-13 13:19:41 +10:00
Ryan Houdek
42cc48f929 Merge pull request #2407 from sigmabeta/master
Android: Put GCPadNew.ini back into the repository.
2015-05-12 19:24:05 -04:00
Eder Bastos
c75378bb45 Android: Put GCPadNew.ini back into the repository. 2015-05-12 19:12:21 -04:00
Lioncash
b036a4ea17 Merge pull request #2405 from sigmabeta/master
Android: Fix a possible crash in the file browser.
2015-05-12 09:36:39 -04:00
Eder Bastos
0fa0e55e2c Android: Fix a possible crash in the file browser if attempting to show a file with no extension. 2015-05-12 09:18:29 -04:00
skidau
a6739c0960 Merge pull request #2386 from mathieui/irhotkeys
Add hotkeys to increase/decrease the IR
2015-05-12 13:05:53 +10:00
Ryan Houdek
0533ecde23 Merge pull request #2397 from Sonicadvance1/aarch64_disable_psq_l
[AArch64] Disable psq_l.
2015-05-11 19:21:53 -04:00
Eder Bastos
06b7b20e5f Android: Scale number of columns in game grid according to screen width. 2015-05-11 17:06:54 -04:00
Lioncash
3bea58e4f8 Merge pull request #2401 from lioncash/typo
WII_IPC_HLE_Device_hid: Fix a function name typo
2015-05-11 16:05:42 -04:00
Ryan Houdek
5bbaa85f25 Merge pull request #2389 from sigmabeta/lollipop-ui-tweaks
Android: Add file browser screen to new UI, and several tweaks.
2015-05-11 11:35:51 -04:00
Eder Bastos
f3aec526b1 Add an IntelliJ settings file describing the Dolphin project code style. 2015-05-11 11:16:56 -04:00
Lioncash
4f8b72ca8b WII_IPC_HLE_Device_hid: Fix a function name typo 2015-05-11 09:45:10 -04:00
Lioncash
af2daf6c5c WiiConfigPane: Handle switch cases explicitly
Gets rid of a warning on higher warning levels (switching on an enum type should handle cases explicitly)
2015-05-11 06:37:07 -04:00
JosJuice
bad09fc358 Volume: Rename GetName to GetInternalName
This is intended to better separate it from GetNames and to clarify
that this name originally wasn't meant to be shown to users.
The ISOProperties GUI is also updated, mainly because labeling
the long banner name "short name" was confusing.
2015-05-11 11:19:30 +02:00
Tillmann Karras
cdf6d185f6 Fix -Wswitch warning 2015-05-11 10:17:36 +02:00
Lioncash
f907e5cace AlsaSoundStream: Use an enum class for signifying ALSA thread state 2015-05-11 01:56:01 -04:00
Lioncash
353205132c AlsaSoundStream: Convert volatile variables to atomics 2015-05-11 01:55:59 -04:00
Lioncash
7b376abd3b Mixer: Convert volatile variables to atomics. 2015-05-11 01:55:50 -04:00
JosJuice
b645547930 Revert "HW: Poll system input from system timers"
This reverts commit 854f6b8688.

Conflicts:
	Source/Core/Core/HW/GCPad.cpp
	Source/Core/Core/HW/Wiimote.cpp
	Source/Core/Core/State.cpp
2015-05-11 07:22:35 +02:00
Ryan Houdek
2d47a159ab [AArch64] Disable psq_l.
Causes flickering in games ever since PR #2172.
No idea why
2015-05-11 00:11:40 -05:00
skidau
294629fa9e Merge pull request #2368 from randomstuff/gdb-unix
GDB stub over UNIX socket
2015-05-11 14:42:34 +10:00
Ryan Houdek
af305aa168 Fix a race condition when pausing the CPU core.
This affects enabling and disabling block profiling on the fly.
The block profiling pauses the CPU cores and then flushes the JIT's block cache and enables block profile.
The issue with this is that when we pause the CPU core, we don't have a way to tell if the JIT recompiler has actually left.
So if the secondary thread that is clearing the JIT block cache is too quick, it will clear the cache as a recompiler is still running that block that
has been cleared.
2015-05-10 21:00:54 -05:00
Ryan Houdek
379f9feebd Fix non-PCH build. 2015-05-10 20:16:05 -05:00