-
Notifications
You must be signed in to change notification settings - Fork 935
Support mods with UNPACKED_MPQS #7996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6079931 to
45e55a4
Compare
We no longer use exceptions anywhere in the codebase
Now that Amiga is on GCC 13, we no longer need this.
|
I have no idea why the Amiga build fails to link 🤔
|
|
The symbol is there but the arguments are $ /opt/m68k-amigaos/bin/m68k-amigaos-nm -C mpq_reader.cpp.obj
...
00000000 T devilution::MpqArchive::GetFileNumber(std::array<unsigned long, 3ul>, unsigned long&)
00000000 T devilution::MpqArchive::GetUnpackedFileSize(unsigned long, long&)vs init.cpp.obj: $ /opt/m68k-amigaos/bin/m68k-amigaos-nm -C libdevilutionx_init.dir/init.cpp.obj
...
U devilution::MpqArchive::GetFileNumber(std::array<unsigned int, 3ul>, unsigned int&)
U devilution::MpqArchive::GetUnpackedFileSize(unsigned int, int&) |
|
It's because you included |
Thanks to staphen@'s investigation in https://github.com/bebbo/amiga-gcc/issues/413#issuecomment-2888749613
|
Thanks! I remember encountering a similar issue in the past. Need to look into SDL to see why it does that. |
|
@MBeijer We're using https://github.com/AmigaPorts/libSDL12, should we be using something else these days? |
|
Nice that things could be unified a bit :) |
This unifies a lot of the code between the MPQ and UNPACKED_MPQS versions, so we actually end up with less code as a result.