drc: do modification check in smaller than page granularity
authornotaz <notasas@gmail.com>
Wed, 21 Sep 2011 23:11:04 +0000 (02:11 +0300)
committernotaz <notasas@gmail.com>
Thu, 22 Sep 2011 17:32:11 +0000 (20:32 +0300)
commit9be4ba6483d8d4bbd87fd12ade5c5cc7f9e3f116
tree5b4d8677556fd541359bcbfa7c127ec8d46c244a
parent174c454a98a71475b72958c9f76293af7d6fb502
drc: do modification check in smaller than page granularity

There are some games that keep writing in the same 4k page where the
code resides (Alien Ressurection is one such example). I've noticed
those accesses are usually to a small region, so keep range of addresses
that has no code and has been recently accessed and check it when the
writes come.
libpcsxcore/new_dynarec/emu_if.h
libpcsxcore/new_dynarec/linkage_arm.s
libpcsxcore/new_dynarec/new_dynarec.c