Просмотр исходного кода

Fixed a small bug in NESPalette

dev-tmpl
Bryan Miller 7 лет назад
Родитель
Сommit
59d5722192
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      app/js/NESPalette.js

+ 1
- 1
app/js/NESPalette.js Просмотреть файл

if (pci < 0 || pci >= 4){ if (pci < 0 || pci >= 4){
throw new RangeError("Palette color index is out of bounds."); throw new RangeError("Palette color index is out of bounds.");
} }
return NESPalette.SystemColor(this.get_palette_syscolor_index(p, pci));
return NESPalette.SystemColor[this.get_palette_syscolor_index(p, pci)];
} }


/** /**

Загрузка…
Отмена
Сохранить