Diff for /qemu/hw/tc6393xb_template.h between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2018/04/24 16:52:56 version 1.1.1.2, 2018/04/24 17:23:59
Line 18 Line 18
  * GNU General Public License for more details.   * GNU General Public License for more details.
  *   *
  * You should have received a copy of the GNU General Public License along   * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,   * with this program; if not, see <http://www.gnu.org/licenses/>.
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.  
  */   */
   
 #if BITS == 8  #if BITS == 8
Line 36 Line 35
 #endif  #endif
   
   
 static void glue(tc6393xb_draw_graphic, BITS)(struct tc6393xb_s *s)  static void glue(tc6393xb_draw_graphic, BITS)(TC6393xbState *s)
 {  {
     int i;      int i;
     int w_display;      int w_display;
     uint16_t *data_buffer;      uint16_t *data_buffer;
     uint8_t *data_display;      uint8_t *data_display;
   
     data_buffer = (uint16_t*)(phys_ram_base + s->vram_addr);      data_buffer = s->vram_ptr;
     w_display = s->scr_width * BITS / 8;      w_display = s->scr_width * BITS / 8;
     data_display = ds_get_data(s->ds);      data_display = ds_get_data(s->ds);
     for(i = 0; i < s->scr_height; i++) {      for(i = 0; i < s->scr_height; i++) {

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


unix.superglobalmegacorp.com