浏览代码

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 年前
父节点
当前提交
b7957267eb
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      app/js/models/NESBank.js

+ 3
- 1
app/js/models/NESBank.js 查看文件





function LRIdx2TileIdxCo(index, lid){ function LRIdx2TileIdxCo(index, lid){
lid || (lid = 2);
if (isNaN(lid) || lid < 0 || lid > 2){
lid = 2;
}
var res = { var res = {
lid: 0, lid: 0,
index: 0, index: 0,

正在加载...
取消
保存