filename | src/mem.h |
changeset | 975:007bf7eb944f |
prev | 953:f4a156508ad1 |
next | 1065:bc1cc0c54917 |
author | nkeynes |
date | Mon Jan 26 07:26:24 2009 +0000 (14 years ago) |
permissions | -rw-r--r-- |
last change | Add read_byte_for_write mem function for correct implementation of AND.B and friends with TLB enabled. Add read_byte and read_long MMIO stubs to do correct sign extension of IO reads |
file | annotate | diff | log | raw |
1.1 --- a/src/mem.h Tue Jan 13 11:56:28 2009 +00001.2 +++ b/src/mem.h Mon Jan 26 07:26:24 2009 +00001.3 @@ -58,6 +58,8 @@1.4 * spaces are automatically forced to unmapped_prefetch by mem.c1.5 */1.6 mem_prefetch_fn_t prefetch;1.7 + /* Convenience for SH4 byte read/modify/write instructions */1.8 + mem_read_fn_t read_byte_for_write;1.9 } *mem_region_fn_t;1.11 int32_t FASTCALL unmapped_read_long( sh4addr_t addr );
.