From 198c6ad0d728447dc97e467c8fb08f0b54c8a742 Mon Sep 17 00:00:00 2001 From: FernandoS27 Date: Tue, 5 Oct 2021 23:54:33 +0200 Subject: Suspend temporally --- src/core/core.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/core.h') diff --git a/src/core/core.h b/src/core/core.h index c1234ef77..8b21816cc 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -160,6 +160,8 @@ public: /// Shutdown the emulated system. void Shutdown(); + void stallForGPU(bool pause); + /** * Load an executable application. * @param emu_window Reference to the host-system window used for video output and keyboard -- cgit v1.2.3 From 53cf91d151d1e3d289917b63cf17ca254674f1ce Mon Sep 17 00:00:00 2001 From: Fernando Sahmkow Date: Sat, 16 Oct 2021 00:20:19 +0200 Subject: NvHost/Core: Address Feedback. --- src/core/core.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/core.h') diff --git a/src/core/core.h b/src/core/core.h index 8b21816cc..1cfe1bba6 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include @@ -160,7 +161,8 @@ public: /// Shutdown the emulated system. void Shutdown(); - void stallForGPU(bool pause); + std::unique_lock StallCPU(); + void UnstallCPU(); /** * Load an executable application. -- cgit v1.2.3