diff options
author | Subv <subv2112@gmail.com> | 2018-06-20 18:39:10 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-06-20 18:39:10 +0200 |
commit | a3d82ef5d90b02a256087edf9c0124b51b059c18 (patch) | |
tree | 859f41acecbdcfcbdf19df80903a045d6e2b0bcb /src/core/hle/service | |
parent | Implement GetAvailableLanguageCodes2 (#575) (diff) | |
download | yuzu-a3d82ef5d90b02a256087edf9c0124b51b059c18.tar yuzu-a3d82ef5d90b02a256087edf9c0124b51b059c18.tar.gz yuzu-a3d82ef5d90b02a256087edf9c0124b51b059c18.tar.bz2 yuzu-a3d82ef5d90b02a256087edf9c0124b51b059c18.tar.lz yuzu-a3d82ef5d90b02a256087edf9c0124b51b059c18.tar.xz yuzu-a3d82ef5d90b02a256087edf9c0124b51b059c18.tar.zst yuzu-a3d82ef5d90b02a256087edf9c0124b51b059c18.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/audio/audren_u.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index 6e8002bc9..c7653f654 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -328,7 +328,7 @@ bool AudRenU::IsFeatureSupported(AudioFeatures feature, u32_le revision) const { u32_be version_num = (revision - Common::MakeMagic('R', 'E', 'V', '0')); // Byte swap switch (feature) { case AudioFeatures::Splitter: - return version_num >= 2; + return version_num >= 2u; default: return false; } diff --git a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp index 79aab87f9..ed7b6dc03 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp @@ -121,8 +121,9 @@ u32 nvhost_gpu::AllocateObjectContext(const std::vector<u8>& input, std::vector< } u32 nvhost_gpu::SubmitGPFIFO(const std::vector<u8>& input, std::vector<u8>& output) { - if (input.size() < sizeof(IoctlSubmitGpfifo)) + if (input.size() < sizeof(IoctlSubmitGpfifo)) { UNIMPLEMENTED(); + } IoctlSubmitGpfifo params{}; std::memcpy(¶ms, input.data(), sizeof(IoctlSubmitGpfifo)); NGLOG_WARNING(Service_NVDRV, "(STUBBED) called, gpfifo={:X}, num_entries={:X}, flags={:X}", |