bugfix: in nes_init function, there is some problem of pattab1 buffer calulation.