Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Merge branch 'master' of https://github.com/yuzu-emu/yuzu into service-impl

David Marceca210abc3c1f9
diff --cc src/core/CMakeLists.txt
index c2a6f56cd2,f4be926e4d..45dbd6796f
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@@ -183,12 -181,10 +181,12 @@@ add_library(core STATI
hle/service/nvflinger/buffer_queue.h
hle/service/nvflinger/nvflinger.cpp
hle/service/nvflinger/nvflinger.h
+ hle/service/pctl/module.cpp
+ hle/service/pctl/module.h
hle/service/pctl/pctl.cpp
hle/service/pctl/pctl.h
- hle/service/pctl/pctl_a.cpp
- hle/service/pctl/pctl_a.h
+ hle/service/prepo/prepo.cpp
+ hle/service/prepo/prepo.h
hle/service/service.cpp
hle/service/service.h
hle/service/set/set.cpp
diff --cc src/core/hle/service/audio/audren_u.cpp
index a9360614c6,72810b436f..291885db89
--- a/src/core/hle/service/audio/audren_u.cpp
+++ b/src/core/hle/service/audio/audren_u.cpp
@@@ -258,9 -257,9 +258,9 @@@ void AudRenU::GetAudioRendererWorkBuffe
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(RESULT_SUCCESS);
- rb.Push<u64>(0x400);
+ rb.Push<u64>(0x4000);
- LOG_WARNING(Service_Audio, "(STUBBED) called");
+ NGLOG_WARNING(Service_Audio, "(STUBBED) called");
}
void AudRenU::GetAudioDevice(Kernel::HLERequestContext& ctx) {
diff --cc src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
index 5008d7cbf6,1e457ae6ef..3c78ecaeaf
--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
@@@ -77,9 -77,8 +77,9 @@@ u32 nvhost_ctrl_gpu::GetCharacteristics
u32 nvhost_ctrl_gpu::GetTPCMasks(const std::vector<u8>& input, std::vector<u8>& output) {
IoctlGpuGetTpcMasksArgs params{};
std::memcpy(&params, input.data(), input.size());
- LOG_WARNING(Service_NVDRV, "(STUBBED) called, mask=0x%x, mask_buf_addr=0x%" PRIx64,
- params.mask_buf_size, params.mask_buf_addr);
+ NGLOG_WARNING(Service_NVDRV, "(STUBBED) called, mask={:#X}, mask_buf_addr={:#X}",
+ params.mask_buf_size, params.mask_buf_addr);
+ params.unk = 0xcafe; // TODO(ogniK): Needs to be non 0, what does this actually do?
std::memcpy(output.data(), &params, sizeof(params));
return 0;
}