mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-26 10:49:17 +00:00
added neslib2.lib
This commit is contained in:
parent
f9f580248f
commit
af26db3396
@ -47,7 +47,7 @@ void update_nametable() {
|
|||||||
char buf[32];
|
char buf[32];
|
||||||
// divide x_scroll by 8
|
// divide x_scroll by 8
|
||||||
// to get nametable X position
|
// to get nametable X position
|
||||||
byte x = ((x_scroll >> 3)+32) & 63;
|
byte x = (x_scroll/8 + 32) & 63;
|
||||||
if (x < 32)
|
if (x < 32)
|
||||||
addr = NTADR_A(x, 4);
|
addr = NTADR_A(x, 4);
|
||||||
else
|
else
|
||||||
|
BIN
src/worker/lib/nes/neslib2.lib
Normal file
BIN
src/worker/lib/nes/neslib2.lib
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user