/[VRac]/Screen.pm
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 /Screen.pm

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

revision 37 by dpavlin, Mon Jul 30 22:27:47 2007 UTC revision 41 by dpavlin, Tue Jul 31 08:49:22 2007 UTC
# Line 138  sub mmap_pixel { Line 138  sub mmap_pixel {
138          return unless $self->show_mem && $self->app;          return unless $self->show_mem && $self->app;
139    
140          my ( $x, $y ) = $self->mem_xy( $addr );          my ( $x, $y ) = $self->mem_xy( $addr );
141          warn sprintf "## mem %04x %02x %02x %02d*%02d\n", $addr, $r, $g, $x, $y if $self->trace;          warn sprintf "## mem %04x %02x %02x %02d*%02d\n", $addr, $r, $g, $x, $y if $self->debug;
142    
143          my $col = SDL::Color->new( -r => $r, -g => $g, -b => $b );          my $col = SDL::Color->new( -r => $r, -g => $g, -b => $b );
144          $self->app->pixel( $x, $y, $col );          $self->app->pixel( $x, $y, $col );

Legend:
Removed from v.37  
changed lines
  Added in v.41

  ViewVC Help
Powered by ViewVC 1.1.26