Ryan Houdek
113c2dcd74
[AArch64] Clamp quantized store ranges.
...
Fixes block dots in THP videos.
Nintendo's THP video uses paired U8 stores to write their THP videos after decoding with floating point operations.
Paired stores clamp the range to the minimum and maximum values(0 - 255 in this case).
In some instances the resulting float will be larger than what a U8 can fit(Typically white) and results in black dots due to how AArch64 handles
quantizing.
2015-06-09 18:11:27 -05:00
Ryan Houdek
3d2b116323
[AArch64] Implement a couple instructions in the emitter.
...
Implements LD2R.
Implements LD1R/LD2R with post-indexing support.
Implements vector min/max instructions.
2015-06-09 18:10:56 -05:00
flacs
d4cf06c922
Merge pull request #2579 from degasus/hotkeys
...
Hotkeys: Fix "Select State Slot"
2015-06-09 23:56:23 +02:00
Jules Blok
97e3c5302d
Merge pull request #2578 from Armada651/cmake-stable
...
Don't display the branch name in the titlebar for the stable branch.
2015-06-09 22:28:54 +02:00
mimimi085181
4d5fdb74be
Code cleanup for FreeTexture after merging PR #2097
2015-06-09 21:45:09 +02:00
degasus
640b81a19f
Hotkeys: Fix "Select State Slot"
...
This was a copy&paste issue from dfc951fbbb
.
Fixes https://code.google.com/p/dolphin-emu/issues/detail?id=8645
2015-06-09 21:05:54 +02:00
Tony Wasserka
6833c203a6
Make make_scmrev.h.js recognize "stable" as a stable branch.
2015-06-09 20:03:25 +02:00
Rohit Nirmal
46bad5291b
Silence -Wreorder warning.
2015-06-09 11:35:53 -05:00
Markus Wick
e47e4c677a
Merge pull request #2097 from mimimi085181/find-textures-by-hash
...
Search the texture cache for small textures by address and hash
2015-06-09 10:12:05 +02:00
Matthew Parlane
39155007c7
Merge pull request #2545 from Tilka/accurate_nans
...
Jit64: optionally accurate NaNs
2015-06-09 17:53:28 +10:00
Jules Blok
d5788f75a3
Merge pull request #2533 from degasus/syncgpu
...
Fifo: Rewrite SyncGPU
2015-06-09 09:43:26 +02:00
Fog
519d2549dd
Fix File Extension Search Being Case Sensitive
2015-06-08 21:39:00 -04:00
Matthew Parlane
42d5b5b48c
Merge pull request #2568 from Sonicadvance1/aarch64_crc32_hash
...
[AArch64] Implement CRC32 texture hashing.
2015-06-09 10:39:52 +10:00
comex
9ed7e3bd3e
Merge pull request #2536 from endrift/deploy-mac
...
Tools: Use non-CMake tool for fixing up OS X bundles
2015-06-08 17:33:17 -07:00
Ryan Houdek
ffe085f5ea
[AArch64] Implement CRC32 texture hashing.
...
In a particular hashing heavy scene in Crazy Taxi the Murmur3 hash used 3.11% CPU time.
The new CRC32 hash in the same scene used 1.86%
This was tested on a Nvidia SHIELD Android TV with Cortex-A57s.
This will be a bit slower on the Nexus 9, the Denver CPU core is a bit slower with CRC32 texture hashing than Murmur3 texture hashing.
2015-06-08 19:16:50 -05:00
Anthony Serna
57f7129295
Changed AR Code Window and Patch Window
...
Text fields no longer have redundant text.
Blank text variables no longer have redundant translation syntax.
Removed redundant else condition.
Fixed bug with cheat name deleting itself on edit.
2015-06-08 17:02:16 -07:00
NanoByte011
59f273696a
VideoSW: refactor shared lighting attenuation function
...
- Refactored Light Attenuation into inline function in Software Renderer
- Corrected zero length light direction vector to resolve with normal direction (essentially becomes LIGHTDIF_NONE which was what I was after)
- Change the API of this shared function to use points for output variables (degasus)
2015-06-08 23:20:27 +02:00
NanoByte011
06d1b8c63a
VideoSW: rewrite lighting attenuation
...
- Fixes remaining lighting issues (Mario Tennis, etc)
- Apply same fixes to Software Renderer
- Corrected zero length light direction vector to resolve with normal direction (essentially becomes LIGHTDIF_NONE which was what I was after)
2015-06-08 23:20:27 +02:00
degasus
d31bed8b79
Fifo: Rewrite SyncGpu
...
The new implementation has 3 options:
SyncGpuMaxDistance
SyncGpuMinDistance
SyncGpuOverclock
The MaxDistance controlls how many CPU cycles the CPU is allowed to be in front
of the GPU. Too low values will slow down extremly, too high values are as
unsynchronized and half of the games will crash.
The -MinDistance (negative) set how many cycles the GPU is allowed to be in
front of the CPU. As we are used to emulate an infinitiv fast GPU, this may be
set to any high (negative) number.
The last parameter is to hack a faster (>1.0) or slower(<1.0) GPU. As we don't
emulate GPU timing very well (eg skip the timings of the pixel stage completely),
an overclock factor of ~0.5 is often much more accurate than 1.0
2015-06-08 23:16:24 +02:00
Papermanzero
47ea0e1089
Update WiimoteEmu.cpp
...
Should fix Issue 8209: Emulated Wiimote tilt is incorrect since 4.0-4543.
Original changes can be looked at the link below and discussion about the issue can be followed within Issue 8209 at googlecode.
http://pastebin.com/yKA2nuGp
Thanks to hk.konpie for the fix.
2015-06-08 13:22:55 +02:00
JosJuice
04de064732
DolphinQt: Use short GC game titles in grid view
...
Short titles fit better than long titles.
2015-06-08 12:04:51 +02:00
JosJuice
ec0370d2d1
Volume: Add prefer_long parameter to GetNames
...
GC games with long names store two variations of the name in
opening.bnr. This makes the shorter of those names available.
For volumes other than GC discs, prefer_long is ignored.
2015-06-08 12:00:34 +02:00
Tillmann Karras
aec38466d9
Jit64: optionally accurate NaNs
...
When AccurateNaNs is enabled, NaNs are handled accurately by checking
for NaN results and choosing the correct input NaN or replacing x86's
generated -QNaN with +QNaN.
2015-06-08 11:14:52 +02:00
Ryan Houdek
881f6db2ab
Merge pull request #2509 from comex/fix-ar-codes
...
Fix subdialogs of the ISO props dialog... sort of
2015-06-08 04:13:16 -04:00
Ryan Houdek
3a3b782f3c
[AArch64] Detect AES/SHA1/SHA2/CRC32 in CPUDetect.
2015-06-08 01:20:24 -05:00
Ryan Houdek
59e2225f7d
Remove ARMv7 support.
2015-06-07 22:44:13 -05:00
Ryan Houdek
499478bcad
Merge pull request #2550 from Armada651/d3d-pokes
...
D3D: Implement Z pokes.
2015-06-07 23:25:16 -04:00
Ryan Houdek
9969273994
Merge pull request #2557 from AdmiralCurtiss/gc-sram-checksum
...
GameCube SRAM: Recalculate checksums after setting language.
2015-06-07 23:24:06 -04:00
Ryan Houdek
e8ae0f8c3c
Merge pull request #2562 from Sonicadvance1/aarch64_optimize_gatherpipe
...
[AArch64] Optimize gatherpipe stores
2015-06-07 23:23:11 -04:00
Ryan Houdek
8c2e5e2860
Merge pull request #2555 from Sonicadvance1/aarch64_rebase_ppsspp_emitter
...
[AArch64] Upstream PPSSPP's emitter changes.
2015-06-07 23:23:04 -04:00
Ryan Houdek
a81d1c250a
Merge pull request #2512 from JosJuice/bnr-size-match
...
VolumeGC: Check that opening.bnr size matches type
2015-06-07 23:20:54 -04:00
Ryan Houdek
51b440fbcf
Merge pull request #2449 from sigmabeta/android-decouple-surfaceview
...
\Android: Decouple SurfaceView initialization and emulation start.
2015-06-07 23:18:56 -04:00
Ryan Houdek
9521bc1fc6
Merge pull request #2558 from sigmabeta/android-panic-alerts
...
Android: Display Panic Alerts on-screen as a Toast message.
2015-06-07 23:14:34 -04:00
Ryan Houdek
c79dd40e72
Merge pull request #2529 from JosJuice/ini-skip-bom
...
Skip reading UTF-8 BOM at the beginning of INI files
2015-06-07 23:13:53 -04:00
Ryan Houdek
daf9492072
Merge pull request #2561 from Sonicadvance1/gles_fix
...
Fix OpenGL ES shader compilation.
2015-06-07 23:12:57 -04:00
Ryan Houdek
444d112df5
Merge pull request #2563 from Sonicadvance1/aarch64_disable_psql
...
[AArch64] Disable psq_l again.
2015-06-07 23:12:50 -04:00
Ryan Houdek
c8068e26fb
Merge pull request #2527 from Sonicadvance1/aarch_multi_loadstore
...
[AArch64] Implement lmw/stmw.
2015-06-07 23:12:42 -04:00
Matthew Parlane
9e1aab663f
Revert "SDL: handle SDL_QUIT event"
2015-06-08 13:43:39 +12:00
Ryan Houdek
d29fd84249
[AArch64] Disable psq_l again.
...
Still causing issues with games.
Disable it again until I can spend enough time debugging it.
2015-06-07 19:55:27 -05:00
Ryan Houdek
46c3a11d01
[AArch64] Optimize gatherpipe stores
...
This can be even more optimized in the future when the register cache supports constant caching.
2015-06-07 19:53:40 -05:00
Ryan Houdek
8ae12d8005
[AArch64] Add ASIMD LDR/STR with register offset
2015-06-07 19:53:05 -05:00
Ryan Houdek
05b72c5d31
[AArch64] Upstream PPSSPP's emitter changes.
...
Requires a minor change to in the JIT to make sure everything still works.
2015-06-07 19:50:21 -05:00
comex
5c7caf1f22
Merge pull request #2517 from comex/netplay-timebase-rb
...
[rebased] Compare timebase of netplay users to detect desyncs.
2015-06-07 17:47:53 -07:00
Ryan Houdek
3f46491255
Fix OpenGL ES shader compilation.
2015-06-07 19:44:44 -05:00
Admiral H. Curtiss
63064aeaaa
GameCube SRAM: Add a struct for the "flags" parameter.
2015-06-08 02:40:02 +02:00
Admiral H. Curtiss
78903884e5
GameCube SRAM: Recalculate checksums after setting language.
...
This fixes a minor bug where the IPL thinks the SRAM has been corrupted and forces you to re-set date/time and settings when you change language in Config -> GameCube while not skipping the IPL on boot.
2015-06-08 02:40:02 +02:00
Admiral H. Curtiss
350f2fb40e
Fixes issue with PAL Wind Waker not displaying PAL60 option.
2015-06-08 02:29:35 +02:00
sigmabeta
d752ee73c0
Android: Remove old panic alert messsaging flags.
2015-06-07 20:16:55 -04:00
sigmabeta
3038368128
Android: Display Panic Alerts on-screen as an Android Toast message.
2015-06-07 20:13:52 -04:00
Markus Wick
e987383f6d
Merge pull request #2537 from degasus/master
...
Config: Add SyncOnSkipIdle GameIni option
2015-06-07 23:02:12 +02:00
Ryan Houdek
588de63f9c
Merge pull request #2141 from Tilka/position_cache
...
zfreeze: cache vertex positions
2015-06-07 16:44:40 -04:00
flacs
82fa01804c
Merge pull request #2553 from AdmiralCurtiss/cpu-engine-selection-fix
...
Config: Fix incorrect array length detection for CPU Emulation Engine options.
2015-06-07 21:40:38 +02:00
Lioncash
62bcba3fb7
Merge pull request #2554 from JosJuice/hires-textures-translation
...
VideoConfigDiag: Translate cache_hires_textures_desc like other strings
2015-06-07 14:44:05 -04:00
JosJuice
b856849b1d
VideoConfigDiag: Translate cache_hires_textures_desc like other strings
...
1aa829c
made these strings use wxTRANSLATE by reverting 0004b60
, but
cache_hires_textures_desc was left out because it was added after 0004b60
.
2015-06-07 20:25:42 +02:00
Admiral H. Curtiss
3520a1d123
Config: Fix incorrect array length detection for CPU Emulation Engine options.
2015-06-07 19:39:54 +02:00
Jules Blok
75fef8e26f
D3D: Implement Z pokes.
2015-06-07 15:33:30 +02:00
Jules Blok
cfc23560d9
D3D: Set the viewport to the full target size when doing EFB pokes.
2015-06-07 13:32:00 +02:00
flacs
30db1959fa
Merge pull request #2549 from Tilka/fma4
...
Revert "Jit64: add FMA4 support to fmaddXX"
2015-06-07 13:29:03 +02:00
Tillmann Karras
3513dd454f
Revert "Jit64: add FMA4 support to fmaddXX"
...
This reverts commit 794a311b11
.
2015-06-07 13:03:16 +02:00
Dolphin Bot
0245dd156d
Merge pull request #2543 from JosJuice/remove-dsp-thread-reference
...
Remove reference to DSP on Dedicated Thread
2015-06-07 13:01:06 +02:00
flacs
cab9f7b4da
Merge pull request #2548 from endrift/jit-nulls
...
Common: Add null checks when adding and removing breakpoints
2015-06-07 12:44:41 +02:00
Ryan Houdek
10bd68936c
[AArch64] Implement ZFreeze cache
2015-06-07 12:13:01 +02:00
Tillmann Karras
5ddd2cef6c
zfreeze: cache vertex positions
...
Suggested by degasus.
2015-06-07 12:13:00 +02:00
Tillmann Karras
9e2f4dd7da
VertexLoaderX64: revert 9da86092ae
...
I can't reproduce that it's actually faster and it will definitely be
slower with position caching for zfreeze.
2015-06-07 12:13:00 +02:00
Matthew Parlane
cf8f049c4d
Merge pull request #2518 from degasus/hotkeys
...
Hotkeys: Drop old GUI
2015-06-07 20:10:10 +10:00
Jeffrey Pfau
1214161ad9
Common: Add null checks when adding and removing breakpoints
2015-06-07 03:03:35 -07:00
Matthew Parlane
d286c69ec4
Merge pull request #2546 from Parlane/fix_trans
...
Fixed translation of strings at runtime.
2015-06-07 19:17:08 +10:00
Matthew Parlane
1aa829c03c
Fixed translation of strings at runtime.
...
Static strings can not be translated until wxLocale is initialised.
This reverts commit 0004b6004b
.
Conflicts:
Source/Core/DolphinWX/VideoConfigDiag.cpp
2015-06-07 20:38:36 +12:00
comex
9f2d684802
Merge pull request #2539 from mimimi085181/gecko-codes-line-ending-fix
...
Fix line ending bug for downloaded gecko codes
2015-06-06 23:12:39 -04:00
Jules Blok
b0afb08170
Merge pull request #2541 from Armada651/revert-revert
...
Revert "Revert "OGL: Switch depth buffers to GL_DEPTH_COMPONENT32F format.""
2015-06-07 00:26:01 +02:00
JosJuice
b61f41e698
Remove reference to DSP on Dedicated Thread
2015-06-07 00:01:57 +02:00
Jules Blok
026d07e7c9
D3D: Remove obsolete comment.
2015-06-06 23:26:52 +02:00
Lioncash
8707d68ddb
Merge pull request #2542 from JosJuice/how-to-not-print-variables
...
DVDInterface: Fix newFileName variable not being printed correctly
2015-06-06 16:20:49 -04:00
Jeffrey Pfau
c1c472958e
Tools: Use non-CMake tool for fixing up OS X bundles
2015-06-06 12:44:47 -07:00
JosJuice
23f9ccf59b
DVDInterface: Fix newFileName variable not being printed correctly
2015-06-06 21:29:43 +02:00
Jules Blok
37dc8661ab
Revert "Revert "OGL: Switch depth buffers to GL_DEPTH_COMPONENT32F format.""
...
This reverts commit 9ef1ca4141
.
2015-06-06 20:10:23 +02:00
Jules Blok
8cc271516d
Revert "Revert "OGL: Change the depth buffer type to GL_FLOAT.""
...
This reverts commit 05d60f4fef
.
2015-06-06 20:09:22 +02:00
Jules Blok
5650b9e970
Revert "OGL: Use floating point arithmetic to scale the depth value."
...
This reverts commit 05f42f94a0
.
2015-06-06 20:07:49 +02:00
mimimi085181
bd5e55bc59
Fix line ending bug for downloaded gecko codes
2015-06-06 19:15:15 +02:00
flacs
d3e47dfcf5
Merge pull request #2496 from Tilka/fma4
...
Jit64: add FMA4 support to fmaddXX
2015-06-06 17:31:55 +02:00
Jules Blok
f9b5571ddd
Merge pull request #2534 from Armada651/depth-clamp
...
VideoBackends: Allow the viewport to use the full depth range.
2015-06-06 12:32:56 +02:00
degasus
12b469b417
Config: Add SyncOnSkipIdle GameIni option
2015-06-06 11:19:58 +02:00
comex
9c63b78397
Fix indeterminism in GPU thread mode.
2015-06-06 02:14:06 -04:00
comex
f2631a835e
Simplify and improve.
...
Note - I removed a SleepCurrentThread(1) the patch added which seemed to
be unrelated to the actual job at hand. If there was a real need for it
(which sounds like it would be an enet-related bug - enet_host_service
is supposed to *sleep*), that needs to be dealt with...
2015-06-06 01:28:01 -04:00
comex
95d682dfd5
Merge pull request #2519 from JosJuice/volume-type-enum
...
Volume: Return volume type as an enum
2015-06-06 01:23:52 -04:00
flacs
726fc58b49
Merge pull request #2531 from lioncash/vs
...
Common: Fix a typo in the VS project file.
2015-06-06 07:18:22 +02:00
Rachel Bryk
04ca54623c
Compare timebase of netplay users to detect desyncs.
2015-06-06 00:52:02 -04:00
Lioncash
3239a204db
Common: Fix typos in BlockingLoop.h
2015-06-05 23:37:37 -04:00
Jules Blok
ef1dfa8bcb
VideoBackends: Allow the viewport to use the full depth range.
2015-06-06 03:37:46 +02:00
skidau
2f577e147b
Merge pull request #2520 from AdmiralCurtiss/wii-pal60
...
Properly set default video mode for PAL Wii games.
2015-06-06 10:42:42 +10:00
mimimi085181
3b9020dc9b
Search the texture cache for small textures by address and hash
...
This fixes issue 6563:
https://code.google.com/p/dolphin-emu/issues/detail?id=6563
This PR adds a 2nd map to texture cache, which uses the hash as key. Cache entries from this new map are used only if the address matches or if the texture was fully hashed. This restriction avoids false positive cache hits. This results in a possible situation where safe texture cache accuracy could be faster than the fast one.
Small textures means up to 1KB for fast texture cache accuracy, 4KB for medium, and all textures for safe accuracy.
Since this adds a small overhead to all texture cache handling, some regression testing would be nice. Games, which use a lot of textures the same time, should be affected the most.
2015-06-05 21:30:39 +02:00
flacs
b9821916dc
Merge pull request #2530 from Tilka/sdl_quit
...
SDL: handle SDL_QUIT event
2015-06-05 19:53:24 +02:00
Tillmann Karras
9ec5a4544f
SDL: handle SDL_QUIT event
...
Using SDL_INIT_JOYSTICK implies SDL_INIT_EVENTS which installs a signal
handler for SIGINT and SIGTERM. There will be a way to prevent this in
2.0.4 but for now we'll need to handle SDL_QUIT.
2015-06-05 19:34:06 +02:00
Lioncash
da9a858dcb
Common: Fix a typo in the VS project file
2015-06-05 13:27:14 -04:00
JosJuice
990d61b786
Skip reading UTF-8 BOM at the beginning of INI files
2015-06-05 18:32:58 +02:00
Lioncash
aca7c948d5
EXI_DeviceEthernet: Convert a volatile bool to an atomic
2015-06-05 09:37:14 -04:00
Admiral H. Curtiss
a2ca4841e9
Properly set default video mode for PAL Wii games.
...
See https://github.com/dolphin-emu/dolphin/pull/2520 for a more detailed explanation.
2015-06-05 14:35:48 +02:00
Ryan Houdek
7b9565c4e6
[AArch64] Implement lmw/stmw.
2015-06-04 23:54:50 -05:00
flacs
2f2e514b54
Merge pull request #2524 from lioncash/aarch64
...
Arm64: Make some functions const.
2015-06-05 04:52:14 +02:00
Lioncash
97382ec90a
Merge pull request #2526 from lioncash/silly
...
WII_IPC_HLE: Remove a silly volatile usage
2015-06-04 22:27:48 -04:00