i need to start caring about carry >.<
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
#include <cflags.hpp>
|
||||
#include <ircolib/mem_access.hpp>
|
||||
#include <ircolib/file.hpp>
|
||||
#include <loaders/elf.hpp>
|
||||
#include <loaders/dol.hpp>
|
||||
#include <ircolib/log.hpp>
|
||||
#include <mem.hpp>
|
||||
#include <broadway.hpp>
|
||||
#include <SDL3/SDL.h>
|
||||
#include <filesystem>
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
weee::core::mem mem;
|
||||
@@ -20,7 +18,7 @@ int main(int argc, char **argv) {
|
||||
flags.add_string_callback(
|
||||
'\0', "elf",
|
||||
[&](const std::string &v) {
|
||||
binName = fs::path(v).filename().string();
|
||||
binName = ircolib::fs::path(v).filename().string();
|
||||
if (!weee::core::load_elf(v, mem, broadway))
|
||||
ircolib::panic("Could not load '{}'", v);
|
||||
},
|
||||
@@ -29,7 +27,7 @@ int main(int argc, char **argv) {
|
||||
flags.add_string_callback(
|
||||
'\0', "dol",
|
||||
[&](const std::string &v) {
|
||||
binName = fs::path(v).filename().string();
|
||||
binName = ircolib::fs::path(v).filename().string();
|
||||
if (!weee::core::load_dol(v, mem, broadway))
|
||||
ircolib::panic("Could not load '{}'", v);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user