summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/vi.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-01-09 16:41:13 +0100
committerbunnei <bunneidev@gmail.com>2018-01-11 05:28:40 +0100
commit1ca800cceecd3f37ad874e12fd657f6145ae13c7 (patch)
treed5c935b854585739970c9a7c2a6b9981e31fdeca /src/core/hle/service/vi/vi.cpp
parentVI: Use a Pulse event instead of OneShot for the vblank events. (diff)
downloadyuzu-1ca800cceecd3f37ad874e12fd657f6145ae13c7.tar
yuzu-1ca800cceecd3f37ad874e12fd657f6145ae13c7.tar.gz
yuzu-1ca800cceecd3f37ad874e12fd657f6145ae13c7.tar.bz2
yuzu-1ca800cceecd3f37ad874e12fd657f6145ae13c7.tar.lz
yuzu-1ca800cceecd3f37ad874e12fd657f6145ae13c7.tar.xz
yuzu-1ca800cceecd3f37ad874e12fd657f6145ae13c7.tar.zst
yuzu-1ca800cceecd3f37ad874e12fd657f6145ae13c7.zip
Diffstat (limited to 'src/core/hle/service/vi/vi.cpp')
-rw-r--r--src/core/hle/service/vi/vi.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index 55bbd45db..0b089702c 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -6,6 +6,7 @@
#include "common/scope_exit.h"
#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/vi/vi.h"
#include "core/hle/service/vi/vi_m.h"
@@ -752,7 +753,7 @@ void NVFlinger::Compose() {
// 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::nvdisp_disp0>("/dev/nvdisp_disp0");
+ auto nvdisp = nvdrv->GetDevice<NVDRV::Devices::nvdisp_disp0>("/dev/nvdisp_disp0");
ASSERT(nvdisp);
nvdisp->flip(igbp_buffer.gpu_buffer_id, igbp_buffer.offset, igbp_buffer.format,