/[gxemul]/trunk/src/devices/dev_fb.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/devices/dev_fb.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 23 by dpavlin, Mon Oct 8 16:19:37 2007 UTC revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: dev_fb.c,v 1.116 2006/02/05 10:26:36 debug Exp $   *  $Id: dev_fb.c,v 1.118 2006/03/04 12:38:47 debug Exp $
29   *     *  
30   *  Generic framebuffer device.   *  Generic framebuffer device.
31   *   *
# Line 513  void dev_fb_tick(struct cpu *cpu, void * Line 513  void dev_fb_tick(struct cpu *cpu, void *
513  #endif  #endif
514    
515          if (d->update_x2 != -1) {          if (d->update_x2 != -1) {
516                  int y, addr, addr2, q = d->vfb_scaledown;  #ifdef WITH_X11
517                    int y;
518    #endif
519                    int addr, addr2, q = d->vfb_scaledown;
520    
521                  if (d->update_x1 >= d->visible_xsize)                  if (d->update_x1 >= d->visible_xsize)
522                          d->update_x1 = d->visible_xsize - 1;                          d->update_x1 = d->visible_xsize - 1;
# Line 863  struct vfb_data *dev_fb_init(struct mach Line 866  struct vfb_data *dev_fb_init(struct mach
866          memory_device_register(mem, name2, baseaddr, size, dev_fb_access,          memory_device_register(mem, name2, baseaddr, size, dev_fb_access,
867              d, flags, d->framebuffer);              d, flags, d->framebuffer);
868    
869          machine_add_tickfunction(machine, dev_fb_tick, d, FB_TICK_SHIFT);          machine_add_tickfunction(machine, dev_fb_tick, d, FB_TICK_SHIFT, 0.0);
870          return d;          return d;
871  }  }
872    

Legend:
Removed from v.23  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26