[patch] Fix typo in rom-japan LCD component

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[patch] Fix typo in rom-japan LCD component

Erickson, Hans
Hello,

Currently both the left arrow and the right arrow in the character
definitions for the rom-japan LCD component are assigned to 0x7e.  This
patch corrects that problem.

- Hans Erickson
  [hidden email]



Index: sid/component/lcd/rom-japan.cxx
===================================================================
RCS file: /cvs/src/src/sid/component/lcd/rom-japan.cxx,v
retrieving revision 1.1
diff -c -p -r1.1 rom-japan.cxx
*** sid/component/lcd/rom-japan.cxx 7 Dec 2000 19:30:53 -0000
1.1
--- sid/component/lcd/rom-japan.cxx 15 Sep 2006 15:45:37 -0000
*************** init_rom_japan( unsigned char rom[][8] )
*** 25,31 ****
    fm[4] = 0x2;
    fm[5] = 0x4;
 
!   fm = &(rom[0x7e][0]); // left arrow
    fm[1] = 0x4;
    fm[2] = 0x8;
    fm[3] = 0x1f;
--- 25,31 ----
    fm[4] = 0x2;
    fm[5] = 0x4;
 
!   fm = &(rom[0x7f][0]); // left arrow
    fm[1] = 0x4;
    fm[2] = 0x8;
    fm[3] = 0x1f;
Reply | Threaded
Open this post in threaded view
|

Re: [patch] Fix typo in rom-japan LCD component

Frank Ch. Eigler
Hi -

> Currently both the left arrow and the right arrow in the character
> definitions for the rom-japan LCD component are assigned to 0x7e.  This
> patch corrects that problem. [...]

Thanks, applied!

- FChE