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
Zach Hilman
3781654c6d
registration: Various style and documentation improvements
Fix logic in RealVfsFilesystem Create methods
Remove magic numbers
Fix regex errors
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
Lioncash
6082427cbd
scheduler: Make HaveReadyThreads() a const member function
This function doesn't modify instance state, so the const qualifier can
be added to it.
7 years ago
Lioncash
95ff8e6aac
thread_queue_list: Make contains() and get_first() const member functions
These don't directly modify the contained data.
7 years ago
Lioncash
9a76374859
thread_queue_list: Convert typedef to a type alias
7 years ago
Markus Wick
d6703d607b
gl_rasterizer: Use a shared helper to upload from CPU memory.
8 years ago
Markus Wick
2d2027cd52
gl_state: Don't track constant buffer mappings.
8 years ago
Markus Wick
a59891f497
gl_rasterizer: Use the stream buffer for constant buffers.
8 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.
8 years ago
Markus Wick
ca4e2c22d4
gl_rasterizer: Use a helper for aligning the buffer.
8 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.
8 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
Lioncash
7803b153d8
vfs: Use sanitized paths within MoveFile() and MoveDirectory()
Previously these were being unused (or partially unused). While we're at
it, use better naming to make it visibly obvious which variant of the
path is being used.
7 years ago
Lioncash
91c673cac7
card_image: Use type aliases to shorten definitions
We have the aliases, so we may as well use 'em.
7 years ago
Lioncash
d323d72fd5
card_image: Simplify return statement of GetSubdirectories()
We don't need to write out the construction long-form, we can just let
the language itself work it out off the return type.
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
Zach Hilman
8c33f20792
registration: Add support for force overwrite of installed
7 years ago
Zach Hilman
9bae8b24ae
game_list: Split game list scans to multiple functions
Avoids unnecessary rebuilds of control data on every layer of recursion in AddFstEntriesToGameList
7 years ago
Zach Hilman
fdb155ca09
vfs_real: Add CreateFullPath to Create* operations
7 years ago
Zach Hilman
b16c3dc725
control_metadata: Remove unnecessary reference to base file
7 years ago
Zach Hilman
0c55578a65
romfs: Remove cyclic shared_ptr leak in romfs code
7 years ago
Zach Hilman
83db3b452a
registration: Update documentation and style
7 years ago
Zach Hilman
50ff8ec364
nca_metadata: Remove unnecessary reference to base file
8 years ago
Zach Hilman
2a0b80bb67
bis_factory: Create NAND dirs if they don't exist
8 years ago
Zach Hilman
54fd907b2b
qt: Use custom RawCopy with progress bar for installs
8 years ago
Zach Hilman
f92fbf012d
registration: Take RawCopy function as parameter
Instead of defaulting to VfsRawCopy
8 years ago
Zach Hilman
8f96b88d0b
game_list: Populate control data from installed NAND
8 years ago