mirror of
https://github.com/holub/mame
synced 2025-06-03 19:36:26 +03:00
psx.cpp : Reduce unused, Add notes
This commit is contained in:
parent
1c5333a42c
commit
b3a4cb0b9e
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user