| Previous | 199869 Revisions | Next |
| r21026 Wednesday 13th February, 2013 at 11:55:16 UTC by Oliver Stöneberg |
|---|
| (MESS) prevent usage of invalid index in nimbus_bank_memory() (nw) |
| [src/mess/machine] | rmnimbus.c |
| r21025 | r21026 | |
|---|---|---|
| 2030 | 2030 | |
| 2031 | 2031 | if(LOG_RAM) logerror("mapped %s",bank); |
| 2032 | 2032 | |
| 2033 | if((block_ofs < ramblocks[ramblock][map_blockno].blocksize) && | |
| 2034 | (map_blocks[map_blockno]!=NULL) && (map_blockno>-1)) | |
| 2033 | if((map_blockno>-1) && (block_ofs < ramblocks[ramblock][map_blockno].blocksize) && | |
| 2034 | (map_blocks[map_blockno]!=NULL)) | |
| 2035 | 2035 | { |
| 2036 | 2036 | map_base=(ramsel==0x07) ? map_blocks[map_blockno] : &map_blocks[map_blockno][block_ofs*1024]; |
| 2037 | 2037 |
| Previous | 199869 Revisions | Next |