Search
lxdream.org :: lxdream/src/pvr2/pvr2.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.c
changeset 931:430048ea8b71
prev929:fd8cb0c82f5f
next934:3acd3b3ee6d1
author nkeynes
date Tue Dec 23 05:48:05 2008 +0000 (11 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change More refactoring and general cleanup. Most things should be working again now.
Split off cache and start real implementation, breaking save states in the process
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.c Sat Dec 20 03:01:40 2008 +0000
1.2 +++ b/src/pvr2/pvr2.c Tue Dec 23 05:48:05 2008 +0000
1.3 @@ -142,7 +142,6 @@
1.4 int i;
1.5 register_io_region( &mmio_region_PVR2 );
1.6 register_io_region( &mmio_region_PVR2PAL );
1.7 - register_io_region( &mmio_region_PVR2TA );
1.8 register_event_callback( EVENT_HPOS, pvr2_hpos_callback );
1.9 register_event_callback( EVENT_SCANLINE1, pvr2_scanline_callback );
1.10 register_event_callback( EVENT_SCANLINE2, pvr2_scanline_callback );
1.11 @@ -858,19 +857,6 @@
1.12 mmio_region_PVR2_write( DISP_ADDR1, base );
1.13 }
1.14
1.15 -
1.16 -
1.17 -
1.18 -MMIO_REGION_READ_FN( PVR2TA, reg )
1.19 -{
1.20 - return 0xFFFFFFFF;
1.21 -}
1.22 -
1.23 -MMIO_REGION_WRITE_FN( PVR2TA, reg, val )
1.24 -{
1.25 - pvr2_ta_write( (unsigned char *)&val, sizeof(uint32_t) );
1.26 -}
1.27 -
1.28 render_buffer_t pvr2_create_render_buffer( sh4addr_t addr, int width, int height, GLuint tex_id )
1.29 {
1.30 if( display_driver != NULL && display_driver->create_render_buffer != NULL ) {
.