MAS register addresses are 8 bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4991 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8d60106430
commit
12bc9f0ca3
1 changed files with 3 additions and 4 deletions
|
@ -775,16 +775,15 @@ bool dbg_mas(void)
|
|||
case BUTTON_DOWN:
|
||||
#else
|
||||
case BUTTON_RIGHT:
|
||||
#endif
|
||||
addr += NUMROWS;
|
||||
#endif
|
||||
addr = (addr + NUMROWS) & 0xFF; /* register addrs are 8 bit */
|
||||
break;
|
||||
#ifdef HAVE_RECORDER_KEYPAD
|
||||
case BUTTON_UP:
|
||||
#else
|
||||
case BUTTON_LEFT:
|
||||
#endif
|
||||
if(addr)
|
||||
addr -= NUMROWS;
|
||||
addr = (addr - NUMROWS) & 0xFF; /* register addrs are 8 bit */
|
||||
break;
|
||||
#ifdef HAVE_RECORDER_KEYPAD
|
||||
case BUTTON_LEFT:
|
||||
|
|
Loading…
Reference in a new issue