pocketNES is released under GPL. As I know, nesDS is ported from pocketNES.
aww... okay, then PLEASE CHANGE
https://sourceforge.net/projects/nesds/
This is wrong...
well, I'll try to utilize zlib/minizip to implement .zip too. If done, can you replace?
[edit]
I see this notes.txt
Code:
(License)
nesDS is released into the PUBLIC DOMAIN.ÂÂYou may do anything you want with it.
If you make any changes you'd like to see added to the official version, please
let me know.
-- [email protected]
so it is correct right?
But you should have remained the potion copyright to each source file.
I didn't know barcode.c is from somewhere.
For ips.c let's see if you can use my ips patcher. (my RLE code has some issue but it affects only creating ips, not patching)
[edit2] now ips.c is license free...
CODEint ipspatch(u8 *pfile, unsigned int *sizfile, const u8 *pips, const unsigned int sizips){ //pass pfile=NULL to get sizfile.
ÂÂÂÂunsigned int offset=5,address=0,size=-1,u;
ÂÂÂÂif(sizipssizips)return 1;address=read24(pips+offset);offset+=3;
ÂÂÂÂÂÂÂÂif(address==0x454f46&&offset==sizips)break;
ÂÂÂÂÂÂÂÂif(offset+2>sizips)return 1;size=read16(pips+offset);offset+=2;
ÂÂÂÂÂÂÂÂif(size){
ÂÂÂÂÂÂÂÂÂÂÂÂif(offset+size>sizips)return 1;
ÂÂÂÂÂÂÂÂÂÂÂÂif(!pfile){
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif(*sizfile*sizfile)return 1;
ÂÂÂÂÂÂÂÂÂÂÂÂ//fprintf(stderr,"write 0x%06x %dbytes\n",address,size);
ÂÂÂÂÂÂÂÂÂÂÂÂmemcpy(pfile+address,pips+offset,size);
ÂÂÂÂÂÂÂÂÂÂÂÂoffset+=size;
ÂÂÂÂÂÂÂÂ}else{
ÂÂÂÂÂÂÂÂÂÂÂÂif(offset+3>sizips)return 1;size=read16(pips+offset);offset+=2;
ÂÂÂÂÂÂÂÂÂÂÂÂif(!pfile){
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif(*sizfile*sizfile)return 1;
ÂÂÂÂÂÂÂÂÂÂÂÂ//fprintf(stderr,"fillÂÂ0x%06x %dbytes\n",address,size);
ÂÂÂÂÂÂÂÂÂÂÂÂfor(u=address;u