zeroZshadow
7ed894484e
Added for loop end condition
2015-08-12 01:18:27 +02:00
zeroZshadow
8e33891593
Properly scan for OpenVPN TAP adapters
...
Handle errors correctly in SendFrame
2015-08-11 23:34:49 +02:00
Moncef Mechri
333f998123
Don't busy wait in the audio thread (ALSA)
...
When the emulation is paused and the ALSA backend is used, make the audio
thread wait on a condition variable instead of busy-waiting. This commit
fixes bug #7729
Since the ALSA API is not thread-safe, calls to snd_pcm_drop() and snd_pcm_prepare()
in AlsaSound::Clear() are protected by the same mutex as the condition variable in AlsaSound::SoundLoop()
to make sure that we do not call these functions while a call to
snd_pcm_writei() is ongoing.
2015-08-11 03:54:54 +02:00
Moncef Mechri
a0c5247743
Initialize ALSA before starting the audio thread
...
This fixes a race condition:
Before this commit, there was a race condition when starting a game:
Core::EmuThread(), after having started (but not necessarily completed)
the initialization of the audio thread, calls Core::SetState() which calls
CCPU::EnableStepping(), which in turns calls AudioCommon::ClearAudioBuffer().
This means that SoundStream::Clear() can be called before
AlsaSound::AlsaInit() has completed.
2015-08-11 03:54:54 +02:00
Lioncash
144ea9f4aa
Arm64Emitter: Fix encoding of '2-reg misc' variant of FCMEQ
2015-08-10 19:48:36 -04:00
Tillmann Karras
0e725c0860
USBGecko: don't needlessly call StringFromFormat()
2015-08-10 12:33:49 +02:00
Markus Wick
e297e3e666
Merge pull request #2825 from lioncash/log
...
AudioCommon: Log to AUDIO, not DSPHLE
2015-08-10 10:25:51 +02:00
Moncef Mechri
8b767a1189
Use dummy audio backend if the selected backend fails to start
...
If the selected audio backend fails to Start() (which could happen for
example if there is no audio device), we currently still use the backend
anyway. This can lead to crashes on some platforms (such as Windows) and
is outright wrong anyway.
This commit fallbacks to the Null audio backend if the selected backend
couldn't be started.
This fixes bug #6001
2015-08-10 03:46:45 +02:00
Lioncash
4c6930d36c
AudioCommon: Remove unused code from XAudio streams
2015-08-09 21:37:34 -04:00
Lioncash
3f78d74fc1
AudioCommon: Log to AUDIO, not DSPHLE
...
This code is not related to DSPHLE.
2015-08-09 21:36:03 -04:00
Ryan Houdek
cf22d32d0c
[AArch64] Don't do an unnecessary 128bit REV64 operation.
...
We are only using the lower 64bits here, no need to do the full quad register.
2015-08-09 14:56:52 -05:00
Ryan Houdek
922d476dab
[AArch64] Fix FCMGE instruction encoding.
...
Fixes a crash when ps_sel is used (PSO 1&2 intro movies).
2015-08-09 14:54:55 -05:00
Anthony Serna
ca250f6b71
Specified the type of AA in OGL AA settings
2015-08-09 09:59:20 -07:00
Lioncash
ccca2982df
Merge pull request #2819 from degasus/fix
...
PPCAnalyst: Mark function as static
2015-08-09 10:09:15 -04:00
degasus
bceab37801
PPCAnalyst: Mark function as static
2015-08-09 11:15:44 +02:00
Markus Wick
68a54daec3
Merge pull request #2817 from comex/clientca-typo
...
Forgot to add a slash in one bit of code I switched from D_WIIUSER_IDX to D_SESSION_WIIROOT_IDX.
2015-08-09 11:08:54 +02:00
flacs
6f2400ebc0
Merge pull request #2807 from aserna3/master
...
Removed audio shortcut from toolbar
2015-08-09 07:55:37 +02:00
comex
e20db1b2e3
Forgot to add a slash in one bit of code I switched from D_WIIUSER_IDX to D_SESSION_WIIROOT_IDX.
...
Fix that.
2015-08-08 23:16:29 -04:00
Lioncash
a488ab7a70
Merge pull request #2811 from Sonicadvance1/interpreter_dump
...
On unknown_instruction dump the full guest GPR state.
2015-08-08 14:57:06 -04:00
Tillmann Karras
145494144c
Jit64: duplicate fres result into ps1
...
And since frD is completely overwritten now, avoid loading it at all.
2015-08-08 06:17:47 +02:00
Ryan Houdek
14a0b01854
Merge pull request #2812 from Tilka/typos
...
Gekko: fix typos in HID2
2015-08-07 10:56:22 -05:00
Markus Wick
59e48e0fcf
Merge pull request #2801 from Tilka/stuff
...
x64Emitter: add MOVSLDUP/MOVSHDUP
2015-08-07 10:37:38 +02:00
Tillmann Karras
829a949708
Gekko: fix typos in HID2
2015-08-07 09:54:13 +02:00
Ryan Houdek
0326bf7164
On unknown_instruction dump the full guest GPR state.
2015-08-07 02:45:05 -05:00
Ryan Houdek
d9037d6c4a
Remove perf_dir Dolphin WX option.
...
Move the option for the directory to the Dolphin.ini
This way more than DolphinWX can take advantage of it.
2015-08-07 01:59:29 -05:00
Ryan Houdek
c5a7243eb2
[AArch64] Add support for JitRegister to the dispatcher and paired loadstores
2015-08-07 01:58:40 -05:00
Anthony Serna
d51267d13c
Removed audio shortcut from toolbar
...
Removed audio.png
2015-08-06 22:35:59 -07:00
Lioncash
f79855ab46
Merge pull request #2803 from lioncash/fp
...
CheatSearchTab: Show floating point value equivalent
2015-08-06 14:23:11 -04:00
degasus
d3cf4034de
DriverDetails: Disable GL_ARB_copy_image on mesa.
2015-08-06 19:41:36 +02:00
degasus
e2f42f8fd0
OGL: Move copy_image variable into backend.
2015-08-06 19:41:36 +02:00
Lioncash
bef7af1158
CheatSearchTab: Display floating point equivalent results
2015-08-06 10:09:12 -04:00
Lioncash
5882d76a6c
CheatSearchTab: Convert wxListBox into a wxListView
...
Allows us to give the list view columns. This allows removal of monospace font use, as it's now a properly formatted list.
2015-08-06 10:09:00 -04:00
Tillmann Karras
439fb26b9b
x64Emitter: add MOVSLDUP/MOVSHDUP
2015-08-06 10:39:43 +02:00
Tillmann Karras
f5a10bddee
Jit64: use overloaded IsSimpleReg() where useful
2015-08-06 10:39:43 +02:00
Tillmann Karras
a3476415f6
JitRegCache: mark derived classes as final
2015-08-06 10:39:43 +02:00
Tillmann Karras
0d3acbd9c7
PPCAnalyst: drop needless forward declarations
2015-08-06 10:39:43 +02:00
Tillmann Karras
8adca82cc6
JitInterface: fix disassembly entry point
...
This adds the downcount check code to the disassembly text and removes the
bogus instructions at the end.
2015-08-06 10:18:46 +02:00
flacs
0821607b2f
Merge pull request #2800 from lioncash/leak
...
UICommon: Fix a leak/bug in Disassembler retrieval
2015-08-04 20:36:01 +02:00
Lioncash
7387914529
UICommon: Fix a leak/bug in Disassembler retrieval
2015-08-04 14:28:32 -04:00
Rohit Nirmal
ac54bbe02d
Fix building with PCH disabled.
2015-08-04 12:59:34 -05:00
flacs
0aad44c980
Merge pull request #2753 from Tilka/fix_warnings
...
Fix some warnings
2015-08-04 18:54:31 +02:00
Markus Wick
972faf42ed
Merge pull request #2785 from lioncash/def
...
GeckoCode: Remove GetAddress function prototype
2015-08-04 17:44:15 +02:00
Markus Wick
19af6e0d93
Merge pull request #2787 from lioncash/memset
...
CPUDetect: Remove a memset call on the this pointer
2015-08-04 17:43:36 +02:00
Tillmann Karras
5a05187b3b
Fix some warnings
...
reorder, sign-compare, pessimizing-move
2015-08-04 10:58:24 +02:00
comex
3ee302df75
Fix wording of invalid read/write message
2015-08-03 01:57:59 -04:00
Scott Mansell
5097a22844
Merge pull request #2794 from randomstuff/evdev-stable
...
Stable device identifier for evdev
2015-08-02 21:40:49 +12:00
Scott Mansell
8dd9d35689
Merge pull request #2653 from AdmiralCurtiss/netplay-video-mode-sync
...
Netplay: Sync Video Mode settings. (Progressive Scan and PAL60)
2015-08-02 12:42:21 +12:00
Gabriel Corona
2722f3f337
Stable device identifier for evdev
2015-08-02 01:51:06 +02:00
Scott Mansell
a1df1f5ae4
Widescreen Heuristic: Cleanup code.
2015-08-01 14:39:34 +12:00
Scott Mansell
615e5db0cb
Make the GameCube game widescreen heuristic smarter.
...
The last heuristic wasn't quite smart enough and had a few
false positives in Mario Kart: Double Dash and Metroid prime 2.
Now we only activate if the game is rendering a 16:9
projection to a 4:3 viewport.
2015-08-01 13:21:53 +12:00
unknown
739ede2242
Fix code to comply with coding style
2015-07-31 20:00:36 -04:00
mirrorbender
0faba3b018
Changed the aspect ratio settings to account for NTSC/PAL pixel aspect ratios and VI scaling.
2015-07-31 19:58:02 -04:00
Lioncash
7ee0e75633
Remove unnecessary virtual keywords
2015-07-30 10:33:08 -04:00
Scott Mansell
567d0b20fa
Merge pull request #2769 from phire/autodetect_widescreen
...
Heuristic to detect if a gamecube game is rendering 16:9 widescreen.
2015-07-29 18:23:35 +12:00
Lioncash
3a450f72f8
CPUDetect: Remove a memset call on the this pointer
2015-07-28 23:44:18 -04:00
Lioncash
df30910b06
UICommon: Pass string by const reference for HostDisassemblerLLVM
2015-07-28 22:32:34 -04:00
Lioncash
44e7a7bf91
GeckoCode: Remove GetAddress function prototype
...
GetAddress didn't have a definition for its prototype.
Also shortened the construction of the Code struct.
2015-07-28 22:10:39 -04:00
Markus Wick
f800a5b93f
Merge pull request #2695 from degasus/jit64
...
Jit64: Fallback support of branching instructions
2015-07-28 16:37:41 +02:00
Markus Wick
0c4209a0f9
Merge pull request #2716 from degasus/jitgeneric
...
CachedInterpreter: New kind of jit which always fallback to interpreter.
2015-07-28 16:37:25 +02:00
degasus
ec0582ee5b
JitArm64: fix lfd
...
Bug found by HdkR.
2015-07-28 00:13:50 +02:00
degasus
b7c4886d66
JitArm64: fix stfsux
2015-07-27 23:07:38 +02:00
Anthony Serna
7e8cfff3c0
Optimized addx()
...
Removed some code duplication
Fixed whitespace
Moved else condition
2015-07-27 11:40:15 -07:00
booto
86dce8b0f7
VideoCommon: reduce level of debug output
2015-07-27 10:22:40 +08:00
Scott Mansell
bb60bcc42d
Heuristic to detect if a gamecube game is rendering 16:9 widescreen.
...
Someone suggested on IRC that we should make a database of memory
locations in GameCube games which contain the 'Widescreen' setting
so we can automatically detect if the game is in 4:3 or 16:9 mode.
But that's hardly optimal, when the game actually tells the gpu
what aspect ratio to render in. 10 min and 6 lines of code later,
this is the result. Not only does it detect the correct aspect ratio
it does so on the fly.
I'm a little suprised nobody thought about doing this before.
2015-07-27 10:40:41 +12:00
Ryan Houdek
e805e05ff5
Merge pull request #2773 from sigmabeta/android_wiimote_main
...
Android: Add Wiimote support, including configuration UI.
2015-07-26 16:54:45 -05:00
booto
9d055ba5f2
Video: Trying to fix D3D/XFB disabled regression
2015-07-26 00:59:00 +08:00
Jules Blok
3801f89125
Merge branch 'stable'
2015-07-25 14:09:02 +02:00
Jules Blok
3814b5b702
HotkeyManager: Activate hotkey when key is pressed.
...
As opposed to activating the hotkey when it is released.
2015-07-25 13:53:27 +02:00
Jules Blok
75fc213359
FrameTools: Disable hotkeys while a modal dialog is shown.
2015-07-25 13:05:00 +02:00
Jules Blok
0092f5207b
Core: Don't return true on IsRunning() when stopping emulation.
2015-07-25 13:04:37 +02:00
Jules Blok
59eb7a864d
Revert "Join the emu thread in Core::Stop. Get rid of Core::Shutdown which did that before."
...
This reverts commit ba664b3293
.
Added documentation to Core::Shutdown() to prevent breaking changes.
2015-07-25 13:04:22 +02:00
Jules Blok
dfe5ed54a4
Merge pull request #2770 from Armada651/modal-hotkeys
...
FrameTools: Disable hotkeys while a modal dialog is shown.
2015-07-25 13:02:13 +02:00
Jules Blok
fbd5bb815c
Merge pull request #2538 from Armada651/thread-revert
...
Revert "Join the emu thread in Core::Stop. Get rid of Core::Shutdown which did that before."
2015-07-25 13:02:04 +02:00
booto
efd250494d
Video: stride in bytes rather than pixels
2015-07-25 02:48:56 +08:00
booto
c43ae67b3b
RealXFB sizes don't get scaled by IR
...
When calculating the size of the undisplayed margin in the case where
fbWidth != fbStride for RealXFB for displaying in the output window,
we do not scale by IR - RealXFB is implicitly 1x.
2015-07-25 01:52:13 +08:00
booto
2e28ed3291
Video: respect stride of efb copies to xfb
2015-07-25 01:52:12 +08:00
sigmabeta
1cb07b1c48
Android: Wiimote UI Fixup
2015-07-23 23:17:16 -04:00
Lioncash
0babb80652
PostProcessingConfigDialog: Remove an unnecessary format call
2015-07-23 14:39:05 -04:00
Jules Blok
8eee13e7af
FrameTools: Disable hotkeys while a modal dialog is shown.
2015-07-23 09:09:01 +02:00
Jules Blok
ed50d61287
Merge branch 'stable'
2015-07-23 08:12:57 +02:00
Ryan Houdek
8bd108426e
Merge pull request #2759 from Sonicadvance1/pvr_workaround2
...
Work around PowerVR's shader compiler.
2015-07-22 16:51:48 -05:00
Ryan Houdek
6ee5ce32cf
Merge pull request #2757 from Sonicadvance1/pvr_workaround
...
Work around slow glBufferSubData on PowerVR.
2015-07-22 16:48:40 -05:00
Ryan Houdek
c81bd32720
Merge pull request #2764 from Sonicadvance1/pvr_workaround3
...
Work around devices that choose to only return the default EGL_RENDERABLE_TYPE
2015-07-22 16:47:11 -05:00
degasus
1c9b5efb4c
CachedInterpreter: New kind of jit which always fallback to interpreter.
2015-07-22 23:19:20 +02:00
Jules Blok
703b1e8654
CFrame: Ignore "Pause on Focus Lost" when not started.
2015-07-22 19:31:23 +02:00
Markus Wick
6bcdae616b
Merge pull request #2679 from Tinob/master
...
Implement scaled partial texture updates
2015-07-22 19:04:04 +02:00
Ryan Houdek
c4f0515141
Work around devices that choose to only return the default EGL_RENDERABLE_TYPE
...
The default EGL_RENDERABLE_TYPE is GLES1, so vendors have the ability to choose between returning only the bits requested, or all of the bits
supported in addition to the one requested.
PowerVR chose to take the route where they only return the bits requested, everyone else returns all of the bits supported.
Instead of letting the vendor have control of this, let's incrementally go through each renderable type and make sure it supports everything we want.
This will cover all devices for now, and for the future.
2015-07-22 11:11:23 -05:00
Jules Blok
5535c5c54c
Core: Don't return true on IsRunning() when stopping emulation.
2015-07-22 09:44:39 +02:00
Markus Wick
deef164c7b
Merge pull request #2761 from lioncash/unused
...
DolphinWX: Remove unused code from MemcardManager
2015-07-22 09:39:53 +02:00
Jules Blok
b6c4d5792b
Revert "Join the emu thread in Core::Stop. Get rid of Core::Shutdown which did that before."
...
This reverts commit ba664b3293
.
Added documentation to Core::Shutdown() to prevent breaking changes.
2015-07-22 09:15:19 +02:00
flacs
40162fdfc1
Merge pull request #2743 from aserna3/master
...
Added some warning text about fractional IRs to IR selection description
2015-07-22 08:25:05 +02:00
Ryan Houdek
a8227ad9b1
Add Wiimote support to the Android backend.
...
Not actually wired up to the Android UI for configuration.
2015-07-21 21:33:23 -05:00
Scott Mansell
9ae8e38a8a
Merge pull request #2717 from phire/fix-reordering
...
PPCAnalyst: Don't swap instruction which might cause interrupts.
2015-07-22 05:16:51 +12:00
Lioncash
fe2f57361e
DolphinWX: Remove unused code from MemcardManager
2015-07-21 00:12:40 -04:00
Ryan Houdek
c1df6d7b4e
Work around PowerVR's shader compiler.
...
This bug has been reported to IMGTec at https://pvrsupport.imgtec.com/ticket/472
The basic idea of the bug is that if you're doing a bitwise and of a constant value vector with a constant scalar value, this causes PowerVR's shader
compiler to fail out with a very non-descriptive message.
Working around the issue by making the value a vector that it is being masked by.
2015-07-20 22:04:16 -05:00
Ryan Houdek
012a9afdb6
Work around slow glBufferSubData on PowerVR.
...
As with all tiled renderers, glBufferSubData is terribly slow.
Use glBufferData as typical.
2015-07-20 22:02:58 -05:00
Ryan Houdek
dc46ae0380
Fix an oversight in GLExtensions
...
I only wanted to erase the first character in the string, not the entire thing.
Fixes Qualcomm and PowerVR devices crashing out immediately.
2015-07-20 22:01:23 -05:00
skidau
3d6ee7313d
Merge pull request #2689 from RisingFog/patch-1
...
Fix TASInput Crash When Stick Bitmap Is Null
2015-07-21 11:41:38 +10:00
Trace Bullet
caa2f15105
DiscIO: Check if m_Disc is null in ParsePartitionData()
2015-07-20 16:21:34 +02:00
Jules Blok
809e480973
Merge branch 'stable'
2015-07-20 16:04:18 +02:00