1
0
mirror of https://github.com/pevans/erc-c.git synced 2025-01-03 00:29:38 +00:00

Remove unused msb variable

This commit is contained in:
Peter Evans 2018-01-01 17:12:41 -06:00
parent 8f04deb642
commit 2aeef09f97

View File

@ -75,7 +75,7 @@ apple2_draw_pixel_lores(apple2 *mach, vm_16bit addr)
void void
apple2_draw_text(apple2 *mach, vm_16bit addr) apple2_draw_text(apple2 *mach, vm_16bit addr)
{ {
vm_8bit lsb, msb; vm_8bit lsb;
vm_16bit page_base; vm_16bit page_base;
vm_area dest; vm_area dest;
char ch; char ch;
@ -101,7 +101,6 @@ apple2_draw_text(apple2 *mach, vm_16bit addr)
// address indicates the place on the grid where text should go. We // address indicates the place on the grid where text should go. We
// don't care how it got there. Let's figure out that position // don't care how it got there. Let's figure out that position
// on-screen. // on-screen.
msb = (addr >> 8) & 0xff; // row
lsb = addr & 0xff; // column lsb = addr & 0xff; // column
// Regardless of which page we're rendering into, we can only use 40 // Regardless of which page we're rendering into, we can only use 40