bunnei
ef0065ee51
Merge pull request #1042 from Subv/races
Fixed a bunch of race conditions when running in multicore mode.
7 years ago
bunnei
d9a4224dba
Merge pull request #1041 from Subv/duplicated_mutex
Kernel/Mutex: Don't duplicate threads in the mutex waiter list.
7 years ago
bunnei
da26e7673b
Merge pull request #1040 from bunnei/xmad
gl_shader_decompiler: Implement XMAD instruction.
7 years ago
Subv
42d6bbcb7c
Core/HLE: Make the 'reschedule_pending' flag atomic.
Another thread may write to this variable while the core in question is in the middle of checking for a reschedule request.
7 years ago
Subv
c51eb8b679
CPU/HLE: Lock the HLE mutex before performing a reschedule.
Another thread might be in the middle of an SVC, thus altering the state of the schedulers.
7 years ago
Subv
5fe52770ea
Kernel/Threads: Lock the HLE mutex when executing the wakeup callback.
Another thread might be in the middle of a reschedule, thus altering the state of the schedulers.
7 years ago
Subv
cbf854666d
Kernel/Thread: Always use the threadsafe option when scheduling wakeups.
WakeAfterDelay might be called from any host thread, so err on the side of caution and use the thread-safe CoreTiming::ScheduleEventThreadsafe.
Note that CoreTiming is still far from thread-safe, there may be more things we have to work on for it to be up to par with what we want.
7 years ago
bunnei
79945f14af
Merge pull request #1039 from lioncash/type
vfs: Make type hierarchy objects classes instead of structs
7 years ago
bunnei
03ac254de6
gl_shader_decompiler: Implement XMAD instruction.
7 years ago
Subv
8f493f43e7
Kernel/Mutex: Don't duplicate threads in the mutex waiter list.
Exit from AddMutexWaiter early if the thread is already waiting for a mutex owned by the owner thread.
This accounts for the possibility of a thread that is waiting on a condition variable being awakened twice in a row.
Also added more validation asserts.
This should fix one of the random crashes in Breath Of The Wild.
7 years ago
Lioncash
cdeac9103f
vfs: Make VfsFilesystem constructor explicit
Makes it consistent with the other VFS interfaces and prevents implicit
construction.
7 years ago
Lioncash
80ac82c9c5
vfs: Make type hierarchy objects classes instead of structs
struct should be used when the data type is very simple or otherwise has
no invariants associated with it. Given these are used to form a
hierarchy, class should be used instead.
7 years ago
bunnei
edeb37b18d
Merge pull request #1025 from ogniK5377/bad-cast
Fixed invalid cast in loader
7 years ago
bunnei
5af06e90cc
Merge pull request #1038 from MerryMage/lock-cubeb
cubeb_sink: Protect queue with a mutex
7 years ago
MerryMage
c9923e03bb
cubeb_sink: Protect queue with a mutex
7 years ago
bunnei
cc798cfb15
Merge pull request #1035 from ogniK5377/audio-dev-revision-info
GetAudioDeviceServiceWithRevisionInfo (Used by Bloodstained: Curse of the Moon)
7 years ago
bunnei
f6746158e3
Merge pull request #1028 from ogniK5377/aoa
Added GetAudioRendererSampleRate, GetAudioRendererSampleCount & GetAudioRendererMixBufferCount
7 years ago
bunnei
53b9e9ce72
Merge pull request #1034 from lioncash/hid
hid: Stub DisconnectNpad()
7 years ago
bunnei
c15938965b
Merge pull request #1030 from bunnei/sdl2-2.0.8
externals: Update to SDL2-2.0.8.
7 years ago
bunnei
a2c107a773
Merge pull request #1006 from degasus/stream_buffer
GL renderer: Pick the streambuffer from citra and use them.
7 years ago
Markus Wick
d6703d607b
gl_rasterizer: Use a shared helper to upload from CPU memory.
7 years ago
Markus Wick
2d2027cd52
gl_state: Don't track constant buffer mappings.
7 years ago
Markus Wick
a59891f497
gl_rasterizer: Use the stream buffer for constant buffers.
7 years ago
Markus Wick
b4f88b06b5
gl_rasterizer: Use the streaming buffer itself for the constant buffer.
Don't emut copies, especially not for data, which is used once. They just end in a huge GPU overhead.
7 years ago
Markus Wick
ca4e2c22d4
gl_rasterizer: Use a helper for aligning the buffer.
7 years ago
Markus Wick
73b40c2bd4
Update the stream_buffer helper from Citra.
Please see https://github.com/citra-emu/citra/pull/3666 for more details.
7 years ago
David Marcec
b5f7e35139
GetAudioDeviceServiceWithRevisionInfo
As we're not handling any anything about the revision data for GetAudioDeviceServiceWithRevisionInfo, it's currently marked as stubbed. However for games this shouldn't affect the result. Proper revision info would be more for homebrew.
7 years ago
Lioncash
ab4821d4b3
hid: disable clang-format around tables
Prevents clang-format from butchering them.
7 years ago
Lioncash
4ca059c59a
hid: Stub DisconnectNpad()
This is required by ARMS.
7 years ago
bunnei
d21901f7f2
Merge pull request #1029 from bunnei/fix-out-attrib
gl_shader_decompiler: Fix SetOutputAttributeToRegister empty check.
7 years ago
bunnei
d381d4dc7e
externals: Update to SDL2-2.0.8.
7 years ago
bunnei
7f1a8483e9
gl_shader_decompiler: Fix SetOutputAttributeToRegister empty check.
7 years ago
bunnei
9a7e916910
Merge pull request #922 from lioncash/cmake
CMakeLists: Change MSVC14 variable to MSVC_VERSION
7 years ago
David Marcec
7d49bcdb1b
Pushed the requested sample rate instead of our fixed sample rate
7 years ago
David Marcec
bba02ec641
made ResultStatus a u16
7 years ago
David Marcec
f3ef58207e
Added GetAudioRendererSampleRate, GetAudioRendererSampleCount & GetAudioRendererMixBufferCount
GetAudioRendererSampleRate is set as a "STUB" as a game could check if the sample rate it sent and the sample rate it wants don't match. Just a thought of something which could happen so keeping it as stub for the mean time
7 years ago
bunnei
e579be5fe2
Merge pull request #1026 from ogniK5377/retro-city-rampage
Stub UpdateUserPresence
7 years ago
bunnei
eef0068035
Merge pull request #1027 from bunnei/fix-kil
gl_shader_decompiler: Fix GLSL compiler error with KIL instruction.
7 years ago
bunnei
7031b3b762
gl_shader_decompiler: Fix GLSL compiler error with KIL instruction.
7 years ago
David Marcec
fd0319efd5
Stub UpdateUserPresence
Needed for Retro City Rampage to go in game
7 years ago
David Marcec
c08adc0db0
Fixed invalid cast in loader
GetMessageForResultStatus takes a u16, not a size_t.
7 years ago
bunnei
6a396d2129
Merge pull request #1022 from bunnei/fix-splat
Several Friend service fixes
7 years ago
bunnei
db6b59b1a6
Merge pull request #1020 from lioncash/namespace
core: Namespace EmuWindow
7 years ago
bunnei
947d80c8ce
Merge pull request #1021 from lioncash/warn
gl_rasterizer: Silence implicit truncation warning in SetupShaders()
7 years ago
bunnei
f807476d29
Merge pull request #1024 from Subv/blend_gl
GPU/Maxwell3D: Implemented an alternative set of blend factors.
7 years ago
bunnei
7478448af7
Merge pull request #1023 from Subv/invalid_attribs
RasterizerGL: Ignore invalid/unset vertex attributes.
7 years ago
Subv
45ee826309
GPU/Maxwell3D: Implemented an alternative set of blend factors.
These are used by nouveau and some games like SMO.
7 years ago
greggameplayer
974a959892
Implement R8_UINT RenderTargetFormat & PixelFormat ( #1014 )
- Used by Go Vacation
7 years ago
Subv
8582c5bb3e
RasterizerGL: Ignore invalid/unset vertex attributes.
This should make the es2gears example not crash anymore.
7 years ago
bunnei
94a58af2a2
friend: Stub DeclareCloseOnlinePlaySession.
- Used by Splatoon 2.
7 years ago