PSP Go >> PSPDev

build atari800-2.1.0.1


編譯步驟如下:

$ cd
$ wget https://github.com/steward-fu/pspgo/releases/download/v1.0/toolchain.tar.gz
$ tar xvf toolchain.tar.gz
$ sudo mv pspdev /opt
$ export PSPDEV=/opt/pspdev
$ export PATH=$PATH:$PSPDEV/bin

$ wget https://github.com/steward-fu/pspgo/releases/download/v1.1/atari800-2.1.0.1.7z
$ 7za x atari800-2.1.0.1.7z
$ cd atari800-2.1.0.1/src
$ cp Makefile.psp Makefile
$ vim psp/lib/image.c
  391  if (setjmp(png_jmpbuf(pPngStruct)))
  403  png_uint_32 width = png_get_image_width(pPngStruct, pPngInfo); //pPngInfo->width;
  404  png_uint_32 height = png_get_image_height(pPngStruct, pPngInfo); //pPngInfo->height;
  405  int color_type = png_get_color_type(pPngStruct, pPngInfo); //pPngInfo->color_type;
  418  png_byte **pRowTable = png_get_rowbytes(pPngStruct, pPngInfo); //pPngInfo->row_pointers;
  551  if (setjmp(png_jmpbuf(pPngStruct)))

$ make clean
$ make


返回上一頁