Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

maxwell_3d: Make constructor explicit

Lioncashc1583210dda9
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 5cd2ecd209..1eeef68570 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -14,7 +14,7 @@ namespace Engines {
class Maxwell3D final {
public:
- Maxwell3D(MemoryManager& memory_manager);
+ explicit Maxwell3D(MemoryManager& memory_manager);
~Maxwell3D() = default;
/// Write the value to the register identified by method.