i need to start caring about carry >.<

This commit is contained in:
2026-05-19 12:26:51 +02:00
parent 8824b6b75a
commit f9ab690ccd
17 changed files with 558 additions and 18 deletions
+3 -5
View File
@@ -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);
},