summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/midtunit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/midtunit.h')
-rw-r--r--src/mame/video/midtunit.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mame/video/midtunit.h b/src/mame/video/midtunit.h
index c020623b5f9..f190c561b56 100644
--- a/src/mame/video/midtunit.h
+++ b/src/mame/video/midtunit.h
@@ -167,12 +167,18 @@ protected:
int32_t m_debug_dma_mode;
int32_t m_debug_dma_command;
#endif
-#if MIDTUNIT_LOG_PNG
+
+ char m_log_path[2048];
+ bool m_log_png;
+ bool m_log_json;
std::unique_ptr<uint64_t[]> m_logged_rom;
bitmap_argb32 m_log_bitmap;
+ void debug_init();
+ void debug_commands(int ref, const std::vector<std::string> &params);
+ void debug_help_command(int ref, const std::vector<std::string> &params);
+ void debug_png_dma_command(int ref, const std::vector<std::string> &params);
void log_bitmap(int command, int bpp, bool skip);
-#endif
};
class midwunit_video_device : public midtunit_video_device