mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-05-20 02:14:55 +00:00
Added ELFIO and fmtlib libraries
This commit is contained in:
parent
e48fdabdae
commit
4b1dc14019
10 changed files with 213 additions and 5 deletions
|
@ -1,4 +1,6 @@
|
|||
#include "rabbitizer.hpp"
|
||||
#include "elfio/elfio.hpp"
|
||||
#include "fmt/format.h"
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
|
@ -8,7 +10,8 @@ int main(int argc, char** argv) {
|
|||
int extraLJust = 5;
|
||||
rabbitizer::InstructionCpu instr(word, vram);
|
||||
|
||||
printf("%08X: %s\n", word, instr.disassemble(extraLJust).c_str());
|
||||
fmt::print("{}\n", instr.isBranch());
|
||||
fmt::print("{:08X}: {}\n", word, instr.disassemble(extraLJust));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue