PSP Go >> PSPDev

build colecovision-2.6.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/colecovision-2.6.1.7z
$ 7za x colecovision-2.6.1.7z
$ cd colecovision-2.6.1
$ vim libpsp/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 -f ColEm.mak clean
$ make -f ColEm.mak


返回上一頁