Commit Graph

17456 Commits

Author SHA1 Message Date
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
805eaa91d0 Merge pull request #2395 from Sonicadvance1/fix_non_pch_build
Fix non-PCH build.
2015-05-10 21:21:03 -04:00
379f9feebd Fix non-PCH build. 2015-05-10 20:16:05 -05:00
a36dc19d9b Add JNI interface for enabling writing block profile results. 2015-05-10 20:03:34 -05:00
0da086e389 Make sure the JitInterface's WriteProfileResults instruction pauses and resumes the CPU core. 2015-05-10 20:02:25 -05:00
bb622836b2 Traversal: Add a read-only text for server:port with a "reset to default" button
Clicking it will set the config file back to stun.dolphin-emu.org with
port 6262.
2015-05-11 01:10:27 +02:00
abaf41baa7 Add a subtitle to AddDirectoryActivity containing the currently displayed folder's path. 2015-05-10 17:28:45 -04:00
2fa29ae8bb Merge pull request #2391 from lioncash/whoops
Contributing.md: Fix a typo
2015-05-10 17:27:34 -04:00
5037833083 Contributing.md: Fix a typo 2015-05-10 17:26:26 -04:00
66e337a19f Qt: add proper keyboard shortcuts from wx 2015-05-10 13:57:45 -07:00
64cf6d167f Qt: Make 'About Qt' action actually open the about box 2015-05-10 13:57:45 -07:00
406270bcf9 Qt: resize main window to fit render 2015-05-10 13:57:45 -07:00
6474616c83 Qt: Prevent crash when closed by the window manager 2015-05-10 13:57:44 -07:00
f665b8690c Merge pull request #2385 from Tilka/small_cleanup
Jit64[IL]: remove some unused stuff
2015-05-10 08:18:48 -07:00
ca4bec3539 Don't show "Error" when a blank string is returned from a native method. 2015-05-10 10:46:46 -04:00
3f1465196c Add touch feedback to GameGridActivity and AddDirectoryActivity. 2015-05-10 10:30:09 -04:00
7d16bde786 Merge pull request #2388 from lioncash/hotkeys
HotkeyDlg: Fix keypress event binding
2015-05-10 20:02:18 +10:00
fcaaa9f649 HotkeyDlg: Fix keypress event binding
Previously no keypresses would be recognized during the button press phase.
2015-05-10 03:35:01 -04:00
4920dbed13 AudioCommon: Migrate threadData to OpenALStream and AOSoundStream
This is only ever used in these two sound streams. Seems silly to have it as a class member. Converted it to an atomic as well.
2015-05-10 01:02:25 -04:00
ea709b6c12 Add hotkeys to increase/decrease the IR 2015-05-10 02:02:47 +02:00
24c6be9d0f Add File Browser screen to new UI. 2015-05-09 12:36:17 -04:00
c651906134 Jit64[IL]: remove some unused stuff 2015-05-09 17:17:49 +02:00
35c77abbc2 DOL loader cleanup with std::vector and safety checks 2015-05-09 16:49:18 +02:00
78e59d08fe Merge pull request #2380 from lioncash/corehdr
Core: Remove some header inclusions in header files
2015-05-09 16:49:07 +10:00
Fog
16081a23f1 Fix video dumping incorrect lengths for some games 2015-05-09 02:28:48 -04:00
76bbd46829 Core: Remove some header inclusions in header files
Replaces them with forward declarations of used types, or removes them entirely if they aren't used at all. This also replaces certain Common headers with less inclusive ones (in terms of definitions they pull in).
2015-05-08 22:38:59 -04:00
700225f8c8 Add floating action button to GameGridActivity. 2015-05-08 19:57:44 -04:00
a4395ecd75 Have Picasso load images into memory at the size they will be displayed. 2015-05-08 19:56:25 -04:00
a7d5084e1f Merge pull request #2375 from sigmabeta/lollipop-ui-update
Implement first few screens of Android 5.0-based UI.
2015-05-08 12:57:00 -04:00
8b2f7b1e88 Merge pull request #2379 from lioncash/header
DolphinWX: Remove unnecessary includes
2015-05-08 12:54:56 -04:00
a7e9aea797 DolphinWX: Remove unnecessary includes 2015-05-08 12:39:26 -04:00
4c3984053d Merge pull request #2378 from lioncash/ogl
OGL: Minor changes in Render.cpp.
2015-05-08 16:00:11 +02:00
cb20589d7f Merge pull request #2341 from lioncash/fwd
DolphinWX: Remove unnecessary forward declarations
2015-05-08 09:54:23 -04:00
a94e4dd07f OGL: Join declarations and assignments in Render 2015-05-08 09:29:36 -04:00
eeb0f0b7c4 OGL: Get rid of some explicit deletes in Render 2015-05-08 09:28:29 -04:00
ca7fe09f1a Merge pull request #2369 from Armada651/depth-percision
VideoBackends: Use proper floating point depth precision.
2015-05-08 15:20:57 +02:00
1d745d632a PixelShaderGen: Clamp zCoord to the depth range. 2015-05-08 14:43:43 +02:00
d04af15ad4 TextureConversionShader: Use floating point values in clamp(). 2015-05-08 14:32:24 +02:00
5dbb43ae1d PixelShaderGen: Use new multiplier everywhere and directly cast to int instead or rounding. 2015-05-08 14:32:23 +02:00
a224c604a3 D3D: Use a 32-bit floating point depth buffer. 2015-05-08 14:32:22 +02:00
84a5f4abb0 VideoBackends: Use the new divisor when clearing the depth buffer. 2015-05-08 14:32:22 +02:00
1a409a2e16 VideoBackends: Clamp Z peek values. 2015-05-08 14:32:21 +02:00
0f2c72f0f8 VideoCommon: Clamp integer conversions. 2015-05-08 14:32:16 +02:00
b0770e2a0c VideoBackends: Floor depth values in depth copy shaders. 2015-05-08 14:29:30 +02:00
be810eb750 OGL: Switch depth buffers to GL_DEPTH_COMPONENT32F format. 2015-05-08 14:29:30 +02:00
4b2e04b862 OGL: Change the depth buffer type to GL_FLOAT. 2015-05-08 14:29:29 +02:00
c4f85a38e6 VideoBackends: Use proper floating point depth precision. 2015-05-08 14:29:29 +02:00
04cb6fccd6 GDB stub over UNIX socket
This is available with the `GDBSocket` option in
`~/.dolphin-emu/Config/Dolphin.ini`.

GDB can connect to it with:

    $ powerpc-eabi-gdb
    (gdb) target remote |socat STDIO UNIX:foo.sock

Because I don't like so much binding the GDB stub socket to 0.0.0.0.
On Linux, with a suitable umask, we can make sure that another local
user cannot connect to the socket.
2015-05-08 14:23:37 +02:00
5af98db8c3 Append Disc 2 to Titles for Multi-Disc Games
Fixes issue 5799

https://code.google.com/p/dolphin-emu/issues/detail?id=5799
2015-05-07 22:59:16 -04:00
268b8fd26f Merge pull request #2026 from mrgreywater/d3d-debugbreak
D3D: More debug information and break on error
2015-05-07 19:29:21 -07:00