aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-01-23Merge pull request #5806 from bunnei/am-stubbunnei
hle: service: am: Stub ILibraryAppletAccessor::PresetLibraryAppletGpuTimeSliceZero.
2021-01-24video_core: Silence -Wmissing-field-initializers warningsReinUsesLisp
2021-01-24maxwell_3d: Silence array bounds warningsReinUsesLisp
2021-01-24maxwell_to_vk: Silence -Wextra warnings about using different enum typesReinUsesLisp
2021-01-23vfs_real: When moving files or directories, don't assume file opening will ↵comex
succeed Found this via a warning, but it's a substantive fix. Since this is only for a cache, it should be safe to silently drop the entry if opening fails. I think.
2021-01-23shader_ir: Fix comment typoLevi Behunin
2021-01-23sdl_impl: Set the maximum vibration duration to 1 secondMorph
2021-01-23Simplify conditionChloe Marcec
2021-01-23nvdrv: Unregister already registered eventsChloe Marcec
2021-01-23Merge pull request #5797 from ReinUsesLisp/nsight-aftermath-buildLC
nsight_aftermath_tracker: Fix build issues when enabled
2021-01-23Clamp string reads to buffer sizeChloe Marcec
2021-01-23video_core/cmake: Properly generate fatal errors on AftermathReinUsesLisp
Fix "message(ERROR ..." to "message(FATAL_ERROR ..." to properly stop cmake when Nsight Aftermath can't be configured.
2021-01-23nsight_aftermath_tracker: Fix build issues when enabledReinUsesLisp
Fixes a bunch of build errors when Nsight Aftermath is properly enabled.
2021-01-22Merge pull request #5776 from ogniK5377/lblbunnei
lbl: Implement most of lbl
2021-01-23vk_pipeline_cache: Properly bypass VertexA shadersReinUsesLisp
The VertexA stage is not yet implemented, but Vulkan is adding its descriptors, causing a discrepancy in the pushed descriptors and the template. This generally ends up in a driver side crash. Bypass the VertexA stage for now.
2021-01-22Merge pull request #4713 from behunin/int-flagsbunnei
Start of Integer flags implementation
2021-01-22Merge pull request #5765 from ogniK5377/StoreSaveDataThumbnail-stubbunnei
acc: Stub StoreSaveDataThumbnail
2021-01-21common: Add missing include to bit_util.hbunnei
2021-01-21gl_shader_decompiler: Fix constant buffer size calculationReinUsesLisp
The divide logic was wrong and can cause an uniform buffer size overflow.
2021-01-21Merge pull request #5781 from lioncash/bitsbunnei
bit_util: Unify implementations of MostSignificantBit32/MostSignificantBit64
2021-01-21video_core/memory_manager: Remove unused CopyBlockUnsafeReinUsesLisp
This function was not being used.
2021-01-21video_core/memory_manager: Flush destination buffer on CopyBlockReinUsesLisp
When we copy into a buffer, it might contain data modified from the GPU on the same pages. Because of this, we have to flush the contents before writing new data. An alternative approach would be to write the data in place, but games can also write data in other ways, invalidating our contents. Fixes geometry in Zombie Panic in Wonderland DX.
2021-01-21video_core/memory_manager: Add GPU address based flush methodReinUsesLisp
Allow flushing rasterizer contents based on a GPU address.
2021-01-21bit_util: Unify implementations of MostSignificantBit32/MostSignificantBit64Lioncash
We can use the standardized CLZ facilities to perform this. This also allows us to make utilizing functions constexpr and eliminate the inclusion of an intrinsics header.
2021-01-20Merge pull request #5270 from german77/multiTouchbunnei
HID: Add multitouch support
2021-01-20Merge pull request #5361 from ReinUsesLisp/vk-shader-commentbunnei
vk_shader_decompiler: Show comments as OpUndef with a type
2021-01-20hle: service: am: Stub ↵bunnei
ILibraryAppletAccessor::PresetLibraryAppletGpuTimeSliceZero. - Used by Monster Hunter Rise demo.
2021-01-21renderer_opengl: Avoid precompiled cache and force NV GL cache directoryReinUsesLisp
Setting __GL_SHADER_DISK_CACHE_PATH we can force the cache directory to be in yuzu's user directory to stop commonly distributed malware from deleting our driver shader cache. And by setting __GL_SHADER_DISK_CACHE_SKIP_CLEANUP we can have an unbounded shader cache size. This has only been implemented on Windows, mostly because previous tests didn't seem to work on Linux. Disable the precompiled cache on Nvidia's driver. There's no need to hide information the driver already has in its own cache.
2021-01-20Merge pull request #5743 from german77/HandheldFixbunnei
Fix player 1 turning on handheld and not updating handheld settings
2021-01-21lbl: Implement most of lblChloe Marcec
Pretty basic service, only thing left to do is handle setting applying once set:sys is implemented
2021-01-20mii: Fix BuildRandomStoreData & Cleanup raw_dataChloe Marcec
Cleaned up mii raw data to reflect the underlying values instead of just a chunk of bytes. Fixed BuildRandomStoreData not actually generating random miis properly. "values" should be a u32, not a u8.
2021-01-20Mark DestinationToString as staticChloe Marcec
2021-01-20Mark LogPacketHeaderEntry hash as noexceptChloe Marcec
2021-01-20lm: Recode LM serviceChloe Marcec
Rework the service to spit out to logs instead of a seperate file as well as fix any crashes caused by lm.
2021-01-19Merge pull request #5755 from FearlessTobi/port-5344bunnei
Port citra-emu/citra#5344: "game_list: Fix folder reordering"
2021-01-19acc: Stub StoreSaveDataThumbnailChloe Marcec
Fixes ACA NEOGEO METAL SLUG hanging on boot.
2021-01-18Merge pull request #5746 from lioncash/sign-compareRodrigo Locatti
texture_cache/util: Resolve -Wsign-compare warning
2021-01-17Merge pull request #5754 from lat9nq/fix-disable-boxcatLC
configure_service: Only compile FormatEventStatusString when YUZU_ENABLE_BOXCAT is enabled
2021-01-17npad: Add check for HANDHELD_INDEX in UpdateControllerAt()Morph
2021-01-17Always update configuration for handheldgerman
2021-01-18game_list: Fix folder reorderingFearlessTobi
The bug(s) happened because we swapped the contents on values.game_dirs, but the pointer each item had to their respective game_dir wasn't updated. This made it so that the item had the wrong game_dir associated with it after a "move up" or "move down" operation. It can be observed by choosing "open directory location" after such operation. Changed from raw pointer to an index because it's equivalent but a bit clearer, but the change is not essential. Co-Authored-By: Vitor K <29167336+vitor-k@users.noreply.github.com>
2021-01-17configure_service: Only compile FormatEventStatusString when ↵lat9nq
YUZU_ENABLE_BOXCAT is enabled The function is unused if YUZU_ENABLE_BOXCAT is disabled, causing a -Wunused-funciton error when compiled. Wrapping it with `#ifdef YUZU_ENABLE_BOXCAT` to prevent compiling the function when the variable is disabled. Opting to not use [[maybe unused]] in case the function is totally unused in the future.
2021-01-17Fix player 1 default connected valuegerman
2021-01-17Merge pull request #5360 from ReinUsesLisp/enforce-memclass-accessbunnei
core: Silence Wclass-memaccess warnings and enforce it
2021-01-17Merge pull request #5745 from lioncash/documentationRodrigo Locatti
video_core: Resolve -Wdocumentation warnings
2021-01-17texture_cache/util: Resolve -Wsign-compare warningLioncash
Resolves a -Wsign-compare warning on Clang.
2021-01-17video_core: Resolve -Wdocumentation warningsLioncash
Silences some -Wdocumentation warnings on Clang.
2021-01-17vulkan_debug_callback: Add missing header guardLioncash
Prevents inclusion issues from occurring.
2021-01-16Merge pull request #5740 from lioncash/const-fnRodrigo Locatti
input_interpreter: Mark two member functions as const
2021-01-16Merge pull request #5262 from ReinUsesLisp/buffer-baseRodrigo Locatti
buffer_cache/buffer_base: Add a range tracking buffer container and tests