mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-03-14 13:21:29 +00:00
Check if mod context is good in mod tool (#113)
This commit is contained in:
parent
17438755a1
commit
0d0e93e979
@ -1087,6 +1087,11 @@ int main(int argc, const char** argv) {
|
||||
|
||||
bool mod_context_good;
|
||||
N64Recomp::Context mod_context = build_mod_context(context, mod_context_good);
|
||||
if (!mod_context_good) {
|
||||
fmt::print(stderr, "Failed to create mod context\n");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
std::vector<uint8_t> symbols_bin = N64Recomp::symbols_to_bin_v1(mod_context);
|
||||
if (symbols_bin.empty()) {
|
||||
fmt::print(stderr, "Failed to create symbol file\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user