diff options
author | Subv <subv2112@gmail.com> | 2018-01-15 23:39:00 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-17 01:03:49 +0100 |
commit | 30657f9ca1485dcf9611d3c4ea3c74d52b350dec (patch) | |
tree | 66254dcdc6002297706d9c7169a46eaff806c611 /src/core/hle/service/vi/vi.cpp | |
parent | VI: Stubbed GetNativeHandle, Create/DestroyStrayLayer and CloseDisplay (diff) | |
download | yuzu-30657f9ca1485dcf9611d3c4ea3c74d52b350dec.tar yuzu-30657f9ca1485dcf9611d3c4ea3c74d52b350dec.tar.gz yuzu-30657f9ca1485dcf9611d3c4ea3c74d52b350dec.tar.bz2 yuzu-30657f9ca1485dcf9611d3c4ea3c74d52b350dec.tar.lz yuzu-30657f9ca1485dcf9611d3c4ea3c74d52b350dec.tar.xz yuzu-30657f9ca1485dcf9611d3c4ea3c74d52b350dec.tar.zst yuzu-30657f9ca1485dcf9611d3c4ea3c74d52b350dec.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/vi/vi.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index 6e1bf481b..cae2c4466 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp @@ -9,7 +9,7 @@ #include "core/core_timing.h" #include "core/hle/ipc_helpers.h" #include "core/hle/service/nvdrv/devices/nvdisp_disp0.h" -#include "core/hle/service/nvdrv/nvdrv_a.h" +#include "core/hle/service/nvdrv/nvdrv.h" #include "core/hle/service/vi/vi.h" #include "core/hle/service/vi/vi_m.h" #include "video_core/renderer_base.h" @@ -834,12 +834,12 @@ void NVFlinger::Compose() { auto& igbp_buffer = buffer->igbp_buffer; // Now send the buffer to the GPU for drawing. - auto nvdrv = NVDRV::nvdrv_a.lock(); + auto nvdrv = Nvidia::nvdrv.lock(); ASSERT(nvdrv); // TODO(Subv): Support more than just disp0. The display device selection is probably based // on which display we're drawing (Default, Internal, External, etc) - auto nvdisp = nvdrv->GetDevice<NVDRV::Devices::nvdisp_disp0>("/dev/nvdisp_disp0"); + auto nvdisp = nvdrv->GetDevice<Nvidia::Devices::nvdisp_disp0>("/dev/nvdisp_disp0"); ASSERT(nvdisp); nvdisp->flip(igbp_buffer.gpu_buffer_id, igbp_buffer.offset, igbp_buffer.format, |