From b3a4cb0b9e0362653cbdd69045e633ff992dad30 Mon Sep 17 00:00:00 2001 From: cam900 Date: Sun, 22 Jul 2018 00:39:08 +0900 Subject: [PATCH] psx.cpp : Reduce unused, Add notes --- src/devices/video/psx.cpp | 18 +++++++++--------- src/devices/video/psx.h | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/devices/video/psx.cpp b/src/devices/video/psx.cpp index 528d5f176c9..a4af38dd201 100644 --- a/src/devices/video/psx.cpp +++ b/src/devices/video/psx.cpp @@ -44,19 +44,19 @@ void psxgpu_device::device_start() if (type() == CXD8538Q) { - m_has_sgram = false; // VRAM +// m_has_sgram = false; // VRAM psx_gpu_init( 1 ); } else { - if (type() == CXD8514Q) - { - m_has_sgram = false; // VRAM - } - else - { - m_has_sgram = true; // SGRAM - } +// if (type() == CXD8514Q) +// { +// m_has_sgram = false; // VRAM +// } +// else +// { +// m_has_sgram = true; // SGRAM +// } psx_gpu_init( 2 ); } } diff --git a/src/devices/video/psx.h b/src/devices/video/psx.h index 3d55773921a..af6fa154a32 100644 --- a/src/devices/video/psx.h +++ b/src/devices/video/psx.h @@ -233,7 +233,7 @@ private: void gpu_read( uint32_t *p_ram, int32_t n_size ); void gpu_write( uint32_t *p_ram, int32_t n_size ); - bool m_has_sgram; +// bool m_has_sgram; // VRAM(false) or SGRAM(true) int32_t m_n_tx; int32_t m_n_ty;