1
0
Fork 0
mirror of https://github.com/ErikAndren/cue2pops-mac.git synced 2025-04-19 23:48:06 +02:00

Copy the bin string

This commit is contained in:
Erik Andrén Zachrisson 2015-10-31 15:35:17 +01:00
parent 2a1197cc79
commit 242bca6adb

View file

@ -487,7 +487,7 @@ int main(int argc, char **argv)
if(i == 0) {
// Having a filename without hierarchy is perfectly ok.
strcpy(dumpaddr, argv[1]);
strcpy(dumpaddr, ptr);
} else { // Here we've got the full CUE path. We're gonna use it to make the BIN path.
strcpy(dumpaddr, argv[1]);
/* Why should I use strrchr when I can do a n00ber thing ;D */