Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/chip_cmp.c b/chip_cmp.c
- index 7845279..b9e541b 100644
- --- a/chip_cmp.c
- +++ b/chip_cmp.c
- @@ -1,4 +1,4 @@
- -#include <malloc.h>
- +#include <malloc/malloc.h>
- #include <memory.h>
- #include <stdio.h>
- #include "stdbool.h"
- diff --git a/chip_srom.c b/chip_srom.c
- index 49b7004..533270a 100644
- --- a/chip_srom.c
- +++ b/chip_srom.c
- @@ -1,6 +1,6 @@
- // TODO: Check sample end < sample start
- -#include <malloc.h>
- +#include <malloc/malloc.h>
- #include <memory.h>
- #include <stdio.h>
- diff --git a/chip_strp.c b/chip_strp.c
- index 087898f..f29843f 100644
- --- a/chip_strp.c
- +++ b/chip_strp.c
- @@ -1,4 +1,4 @@
- -#include <malloc.h>
- +#include <malloc/malloc.h>
- #include <memory.h>
- #include <stdio.h>
- #include "stdbool.h"
- diff --git a/makefile b/makefile
- index b210332..816e477 100644
- --- a/makefile
- +++ b/makefile
- @@ -177,7 +177,7 @@ VGMMERGE_OBJS = \
- vgmmerge: $(VGMMERGE_OBJS)
- $(CC) $^ -lm -Wl,-lz -o $@
- -$(OBJ)/%.o: $(SRC)/%.c
- +$(OBJ)/%.o: $(SRC)/%.c $(OBJ)
- $(CC) $(CCFLAGS) $(MAINFLAGS) -c $< -o $@
- $(OBJ):
- diff --git a/vgm_trim.c b/vgm_trim.c
- index 5d89f74..97e94d4 100644
- --- a/vgm_trim.c
- +++ b/vgm_trim.c
- @@ -55,7 +55,7 @@ int main(int argc, char* argv[])
- Opts = 0x00;
- if (argc > argbase && argv[argbase][0] == '-')
- {
- - if (! _stricmp(argv[argbase] + 1, "state"))
- + if (! strcasecmp(argv[argbase] + 1, "state"))
- {
- Opts |= 0x01;
- argbase ++;
- diff --git a/vgmlpfnd.c b/vgmlpfnd.c
- index 2a0767e..1556f85 100644
- --- a/vgmlpfnd.c
- +++ b/vgmlpfnd.c
- @@ -72,7 +72,7 @@ int main(int argc, char* argv[])
- argbase = 1;
- if (argc >= argbase + 0x01)
- {
- - if (! _stricmp(argv[argbase + 0x00], "-silent"))
- + if (! strcasecmp(argv[argbase + 0x00], "-silent"))
- {
- SilentMode = true;
- argbase ++;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement