destoer-emu / albion

multi system emulator
BSD 3-Clause "New" or "Revised" License
22 stars 2 forks source link

Move mips_lut.cpp out of beyond-all-repair, add it to the Albion build process #12

Closed TheCurle closed 3 months ago

TheCurle commented 4 months ago

lutgen.cpp is a self-contained file with all the defines necessary to generate the mips_lut.cpp file.

It is, therefore, extremely messy. Use some damn headers, man. Geez.

Linux support

I don't have a linux computer at the moment, so this is on you:

cd tools,

$ g++ lutgen.cpp -o lutgen -I../beyond-all-repair/src -I../beyond-all-repair/destoer-lib/src -I../src/N64/instr/

Run this on linux, push the resulting executable to this branch, and i'll make it execute for linux properly. With this change, the lut table automatically updates when we edit bar/src/mips_table.inl.

destoer commented 3 months ago

Fixed in https://github.com/destoer-emu/albion/pull/13