diff segacd.h @ 2271:3ef80963c2a7

Fix stamp address mask and add WIP CD graphics debug view
author Michael Pavone <pavone@retrodev.com>
date Thu, 29 Dec 2022 15:47:19 -0800
parents 4fbe1e7c4a73
children 5a21bc0ec583
line wrap: on
line diff
--- a/segacd.h	Mon Dec 26 12:42:12 2022 -0800
+++ b/segacd.h	Thu Dec 29 15:47:19 2022 -0800
@@ -29,6 +29,7 @@
 	uint32_t        graphics_dy;
 	uint16_t        graphics_dst_x;
 	uint8_t         graphics_pixels[4];
+	uint8_t         graphics_debug_window;
 	uint8_t         timer_pending;
 	uint8_t         timer_value;
 	uint8_t         busreq;
@@ -57,5 +58,6 @@
 uint32_t gen_cycle_to_scd(uint32_t cycle, genesis_context *gen);
 void scd_run(segacd_context *cd, uint32_t cycle);
 void scd_adjust_cycle(segacd_context *cd, uint32_t deduction);
+void scd_toggle_graphics_debug(segacd_context *cd);
 
 #endif //SEGACD_H_