divyang4481 / bizhawk

Automatically exported from code.google.com/p/bizhawk
0 stars 0 forks source link

gpgx vram poke + tile cache #265

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
User tribeam is editing tiles via memory pokes to the vram domain.
This emulator keeps a tile cache.
the core should be modified to invalidate the proper information:
uint8 bg_name_dirty[0x800] ; uint16 bg_name_list[0x800] ; uint16 bg_list_index 
; whenever the vram domain is poked.

Furthermore, I suggest we add a gpgx-specific lua function, which will call
update_bg_pattern_cache(bg_list_index); bg_list_index = 0;
( which is what render_line() uses to refresh the cache )

As well as stimulate the VDP viewer (so you can see changes happen in 
realtime). 

Having this happen automatically on each poke could result in extraordinary 
slowdown.

Original issue reported on code.google.com by zero...@zeromus.org on 19 Sep 2014 at 2:04

GoogleCodeExporter commented 9 years ago
r7864 might work

Original comment by goyu...@gmail.com on 20 Sep 2014 at 1:02

GoogleCodeExporter commented 9 years ago
Calling this fixed.

Original comment by adeli...@tasvideos.org on 27 Sep 2014 at 3:02