summaryrefslogtreecommitdiff
path: root/src/camera.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera.cc')
-rw-r--r--src/camera.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/camera.cc b/src/camera.cc
index 9e9fd82..772d48a 100644
--- a/src/camera.cc
+++ b/src/camera.cc
@@ -146,9 +146,9 @@ void Camera::start()
else errorstatus->pushError("Camera not initialized.");
}
-void Camera::stop()
+void Camera::stop(n_savestate save)
{
- if(initialized) encoder->stop();
+ if(initialized) encoder->stop(save);
else errorstatus->pushError("Camera not initialized.");
}