src/mess/video/dgn_beta.c
| r11541 | r11542 | |
| 107 | 107 | UINT8 *chr_gen = device->machine().region("gfx1")->base(); |
| 108 | 108 | for ( i = 0; i < x_count; i++ ) |
| 109 | 109 | { |
| 110 | | UINT16 offset = ( (( ma + i ) << 1 ) | ((state->m_GCtrl & GCtrlAddrLines)<<8)); |
| 111 | | |
| 110 | UINT32 offset = ( ( ma + i ) | ((state->m_GCtrl & GCtrlAddrLines)<<8)) << 1; |
| 112 | 111 | UINT8 chr = videoram[ offset ]; |
| 113 | 112 | UINT8 attr = videoram[ offset +1 ]; |
| 114 | 113 | |
| r11541 | r11542 | |
| 174 | 173 | { |
| 175 | 174 | for ( i = 0; i < x_count; i++ ) |
| 176 | 175 | { |
| 177 | | UINT16 offset = ((((ma + i ) & 0x1FFF) << 3) | (ra & 0x07)) << 1; |
| 176 | UINT32 offset = ((((ma + i ) & 0x1FFF) << 3) | (ra & 0x07)) << 1; |
| 178 | 177 | |
| 179 | 178 | UINT8 Lo = videoram[ offset ]; |
| 180 | 179 | UINT8 Hi = videoram[ offset +1 ]; |