summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/zeus2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/zeus2.h')
-rw-r--r--src/devices/video/zeus2.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/devices/video/zeus2.h b/src/devices/video/zeus2.h
index 960eefbd8c6..4c53d5b2dbe 100644
--- a/src/devices/video/zeus2.h
+++ b/src/devices/video/zeus2.h
@@ -22,6 +22,7 @@
#define DUMP_WAVE_RAM 0
#define TRACK_REG_USAGE 0
+#define PRINT_TEX_INFO 0
#define WAVERAM0_WIDTH 1024
#define WAVERAM0_HEIGHT 2048
@@ -154,6 +155,10 @@ public:
enum { THEGRID, CRUSNEXO, MWSKINS };
int m_system;
+#if PRINT_TEX_INFO
+ void check_tex(uint32_t &texmode, float &zObj, float &zMat, float &zOff);
+ std::string tex_info(void);
+#endif
protected:
// device-level overrides
@@ -173,6 +178,7 @@ private:
void log_fifo_command(const uint32_t *data, int numwords, const char *suffix);
void print_fifo_command(const uint32_t *data, int numwords, const char *suffix);
void log_render_info(uint32_t texdata);
+
/*************************************
* Member variables
*************************************/
@@ -186,6 +192,10 @@ private:
int m_yScale;
+#if PRINT_TEX_INFO
+ std::map<uint32_t, std::string> tex_map;
+#endif
+
#if TRACK_REG_USAGE
struct reg_info
{