summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author MooglyGuy <therealmogminer@gmail.com>2017-02-02 01:48:13 +0100
committer MooglyGuy <therealmogminer@gmail.com>2017-02-02 01:48:22 +0100
commit1ef805eb8c9774508224ffd28987b1af1a062fa2 (patch)
treeaac785e862c458e32e3548e049036dca1e60e982
parentaf39fe7816a87c8a7642fbfa330ebca7a9e298d0 (diff)
Disable PIN64 logging. (nw)
-rw-r--r--src/mame/video/pin64.cpp2
-rw-r--r--src/mame/video/pin64.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mame/video/pin64.cpp b/src/mame/video/pin64.cpp
index c48984ab6c2..0a4ef2bc636 100644
--- a/src/mame/video/pin64.cpp
+++ b/src/mame/video/pin64.cpp
@@ -278,6 +278,7 @@ void pin64_t::mark_frame(running_machine& machine) {
}
}
+#if PIN64_ENABLE_CAPTURE
if (machine.input().code_pressed_once(KEYCODE_N) && !m_capture_file) {
start(1);
machine.popmessage("Capturing PIN64 snapshot to pin64_%d.cap", m_capture_index - 1);
@@ -290,6 +291,7 @@ void pin64_t::mark_frame(running_machine& machine) {
machine.popmessage("Recording PIN64 movie to pin64_%d.cap", m_capture_index - 1);
}
}
+#endif
}
void pin64_t::command(uint64_t* cmd_data, uint32_t size) {
diff --git a/src/mame/video/pin64.h b/src/mame/video/pin64.h
index d96390a1284..75b18afd89c 100644
--- a/src/mame/video/pin64.h
+++ b/src/mame/video/pin64.h
@@ -8,6 +8,8 @@
#include <cstdio>
#include <vector>
+#define PIN64_ENABLE_CAPTURE (0)
+
#include "emu.h"
class pin64_fileutil_t {