mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
Make some tweaks and fixes for the build system for Ubuntu
This commit is contained in:
1 parent
442027050f
commit
1d1d50494e
6 files changed
+19
-13
No files matched your search
+10
-2
@@ -42,7 +42,11 @@ static uint32_t calc_sum(char *sumfunc, Algo algo)
|
||||
uint32_t offset;
|
||||
|
||||
if (!map_get_function_rompos(sumfunc, &start, &end)) {
|
||||
fprintf(stderr, "Unable to find function \"%s\" in map file\n", sumfunc);
|
||||
fprintf(stderr, "Unable to find function \"%s\" in map file.\n", sumfunc);
|
||||
fprintf(stderr, "If a piracy function has been renamed then you may need to rebuild mkrom:\n");
|
||||
fprintf(stderr, "\n");
|
||||
fprintf(stderr, " make -C tools/mkrom\n");
|
||||
fprintf(stderr, "\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@@ -99,7 +103,11 @@ static void write_sum(char *patchfunc, uint32_t sum)
|
||||
uint32_t end;
|
||||
|
||||
if (!map_get_function_rompos(patchfunc, &start, &end)) {
|
||||
fprintf(stderr, "Unable to find function \"%s\" in map file\n", patchfunc);
|
||||
fprintf(stderr, "Unable to find function \"%s\" in map file.\n", patchfunc);
|
||||
fprintf(stderr, "If a piracy function has been renamed then you may need to rebuild mkrom:\n");
|
||||
fprintf(stderr, "\n");
|
||||
fprintf(stderr, " make -C tools/mkrom\n");
|
||||
fprintf(stderr, "\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user