psx.cpp : Reduce unused, Add notes

This commit is contained in:
cam900 2018-07-22 00:39:08 +09:00
parent 1c5333a42c
commit b3a4cb0b9e
2 changed files with 10 additions and 10 deletions

View File

@ -44,19 +44,19 @@ void psxgpu_device::device_start()
if (type() == CXD8538Q) if (type() == CXD8538Q)
{ {
m_has_sgram = false; // VRAM // m_has_sgram = false; // VRAM
psx_gpu_init( 1 ); psx_gpu_init( 1 );
} }
else else
{ {
if (type() == CXD8514Q) // if (type() == CXD8514Q)
{ // {
m_has_sgram = false; // VRAM // m_has_sgram = false; // VRAM
} // }
else // else
{ // {
m_has_sgram = true; // SGRAM // m_has_sgram = true; // SGRAM
} // }
psx_gpu_init( 2 ); psx_gpu_init( 2 );
} }
} }

View File

@ -233,7 +233,7 @@ private:
void gpu_read( uint32_t *p_ram, int32_t n_size ); void gpu_read( uint32_t *p_ram, int32_t n_size );
void gpu_write( 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_tx;
int32_t m_n_ty; int32_t m_n_ty;