| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-08-12 | CPU/Timing: Use an approximated amortized amount of ticks when advancing timing. | Subv | |
| We divide the number of ticks to add by the number of cores (4) to obtain a more or less rough estimate of the actual number of ticks added. This assumes that all 4 cores are doing similar work. Previously we were adding ~4 times the number of ticks, thus making the games think that time was going way too fast. This lets us bypass certain hangs in some games like Breath of the Wild. We should modify our CoreTiming to support multiple cores (both running in a single thread, and in multiple host threads). | |||
| 2018-08-12 | Kernel/SVC: Don't reschedule the current core when creating a new thread. | Subv | |
| The current core may have nothing to do with the core where the new thread was scheduled to run. In case it's the same core, then the following PrepareReshedule call will take care of that. | |||
| 2018-08-12 | Core/HLE: Make the 'reschedule_pending' flag atomic. | Subv | |
| Another thread may write to this variable while the core in question is in the middle of checking for a reschedule request. | |||
| 2018-08-12 | CPU/HLE: Lock the HLE mutex before performing a reschedule. | Subv | |
| Another thread might be in the middle of an SVC, thus altering the state of the schedulers. | |||
| 2018-08-12 | Kernel/Threads: Lock the HLE mutex when executing the wakeup callback. | Subv | |
| Another thread might be in the middle of a reschedule, thus altering the state of the schedulers. | |||
| 2018-08-12 | Kernel/Thread: Always use the threadsafe option when scheduling wakeups. | Subv | |
| 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. | |||
| 2018-08-12 | gl_shader_decompiler: Implement XMAD instruction. | bunnei | |
| 2018-08-12 | Kernel/Mutex: Don't duplicate threads in the mutex waiter list. | Subv | |
| 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. | |||
| 2018-08-12 | vfs: Make VfsFilesystem constructor explicit | Lioncash | |
| Makes it consistent with the other VFS interfaces and prevents implicit construction. | |||
| 2018-08-12 | vfs: Make type hierarchy objects classes instead of structs | Lioncash | |
| 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. | |||
| 2018-08-12 | Merge pull request #1025 from ogniK5377/bad-cast | bunnei | |
| Fixed invalid cast in loader | |||
| 2018-08-12 | Merge pull request #1038 from MerryMage/lock-cubeb | bunnei | |
| cubeb_sink: Protect queue with a mutex | |||
| 2018-08-12 | registration: Various style and documentation improvements | Zach Hilman | |
| Fix logic in RealVfsFilesystem Create methods Remove magic numbers Fix regex errors | |||
| 2018-08-12 | cubeb_sink: Protect queue with a mutex | MerryMage | |
| 2018-08-12 | Merge pull request #1035 from ogniK5377/audio-dev-revision-info | bunnei | |
| GetAudioDeviceServiceWithRevisionInfo (Used by Bloodstained: Curse of the Moon) | |||
| 2018-08-12 | Merge pull request #1028 from ogniK5377/aoa | bunnei | |
| Added GetAudioRendererSampleRate, GetAudioRendererSampleCount & GetAudioRendererMixBufferCount | |||
| 2018-08-12 | Merge pull request #1034 from lioncash/hid | bunnei | |
| hid: Stub DisconnectNpad() | |||
| 2018-08-12 | scheduler: Make HaveReadyThreads() a const member function | Lioncash | |
| This function doesn't modify instance state, so the const qualifier can be added to it. | |||
| 2018-08-12 | thread_queue_list: Make contains() and get_first() const member functions | Lioncash | |
| These don't directly modify the contained data. | |||
| 2018-08-12 | thread_queue_list: Convert typedef to a type alias | Lioncash | |
| 2018-08-12 | gl_rasterizer: Use a shared helper to upload from CPU memory. | Markus Wick | |
| 2018-08-12 | gl_state: Don't track constant buffer mappings. | Markus Wick | |
| 2018-08-12 | gl_rasterizer: Use the stream buffer for constant buffers. | Markus Wick | |
| 2018-08-12 | gl_rasterizer: Use the streaming buffer itself for the constant buffer. | Markus Wick | |
| Don't emut copies, especially not for data, which is used once. They just end in a huge GPU overhead. | |||
| 2018-08-12 | gl_rasterizer: Use a helper for aligning the buffer. | Markus Wick | |
| 2018-08-12 | Update the stream_buffer helper from Citra. | Markus Wick | |
| Please see https://github.com/citra-emu/citra/pull/3666 for more details. | |||
| 2018-08-12 | GetAudioDeviceServiceWithRevisionInfo | David Marcec | |
| 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. | |||
| 2018-08-12 | hid: disable clang-format around tables | Lioncash | |
| Prevents clang-format from butchering them. | |||
| 2018-08-12 | hid: Stub DisconnectNpad() | Lioncash | |
| This is required by ARMS. | |||
| 2018-08-12 | vfs: Use sanitized paths within MoveFile() and MoveDirectory() | Lioncash | |
| 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. | |||
| 2018-08-12 | card_image: Use type aliases to shorten definitions | Lioncash | |
| We have the aliases, so we may as well use 'em. | |||
| 2018-08-12 | card_image: Simplify return statement of GetSubdirectories() | Lioncash | |
| 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. | |||
| 2018-08-12 | gl_shader_decompiler: Fix SetOutputAttributeToRegister empty check. | bunnei | |
| 2018-08-12 | Pushed the requested sample rate instead of our fixed sample rate | David Marcec | |
| 2018-08-12 | made ResultStatus a u16 | David Marcec | |
| 2018-08-12 | Added GetAudioRendererSampleRate, GetAudioRendererSampleCount & ↵ | David Marcec | |
| 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 | |||
| 2018-08-12 | Merge pull request #1026 from ogniK5377/retro-city-rampage | bunnei | |
| Stub UpdateUserPresence | |||
| 2018-08-12 | gl_shader_decompiler: Fix GLSL compiler error with KIL instruction. | bunnei | |
| 2018-08-12 | Stub UpdateUserPresence | David Marcec | |
| Needed for Retro City Rampage to go in game | |||
| 2018-08-12 | Fixed invalid cast in loader | David Marcec | |
| GetMessageForResultStatus takes a u16, not a size_t. | |||
| 2018-08-11 | registration: Add support for force overwrite of installed | Zach Hilman | |
| 2018-08-11 | game_list: Split game list scans to multiple functions | Zach Hilman | |
| Avoids unnecessary rebuilds of control data on every layer of recursion in AddFstEntriesToGameList | |||
| 2018-08-11 | vfs_real: Add CreateFullPath to Create* operations | Zach Hilman | |
| 2018-08-11 | control_metadata: Remove unnecessary reference to base file | Zach Hilman | |
| 2018-08-11 | romfs: Remove cyclic shared_ptr leak in romfs code | Zach Hilman | |
| 2018-08-11 | registration: Update documentation and style | Zach Hilman | |
| 2018-08-11 | nca_metadata: Remove unnecessary reference to base file | Zach Hilman | |
| 2018-08-11 | bis_factory: Create NAND dirs if they don't exist | Zach Hilman | |
| 2018-08-11 | qt: Use custom RawCopy with progress bar for installs | Zach Hilman | |
| 2018-08-11 | registration: Take RawCopy function as parameter | Zach Hilman | |
| Instead of defaulting to VfsRawCopy | |||
