This website works better with JavaScript.
Home
Explore
Help
Sign In
ObsidianBlk
/
nespaint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fixed a bug in NESBank. Color Index values are now being stored in the correct location. Rendering palette colors now works correctly!
dev-bank
Bryan Miller
6 years ago
parent
d100e56f28
commit
b7957267eb
1 changed files
with
3 additions
and
1 deletions
Split View
Show Diff Stats
+3
-1
app/js/models/NESBank.js
+ 3
- 1
app/js/models/NESBank.js
View File
@@ -6,7 +6,9 @@ import NESPalette from "/app/js/models/NESPalette.js";
function LRIdx2TileIdxCo(index, lid){
lid || (lid = 2);
if (isNaN(lid) || lid < 0 || lid > 2){
lid = 2;
}
var res = {
lid: 0,
index: 0,
Write
Preview
Loading…
Cancel
Save