we load the ELF correctly it seems!

This commit is contained in:
2026-05-11 23:44:19 +02:00
parent 831e03e868
commit 93cab1ee41
11 changed files with 188 additions and 93 deletions
+16
View File
@@ -0,0 +1,16 @@
#pragma once
#include <vector>
#include <ircolib/types.hpp>
namespace weee::core {
struct mem {
mem();
void copy(const std::vector<ircolib::u8> &src, const ircolib::u32 offset);
void copy(const ircolib::u8 *src, const ircolib::u32 size, const ircolib::u32 offset);
void set(const ircolib::u8 val, const ircolib::u32 size, const ircolib::u32 offset);
private:
std::vector<ircolib::u8> mem1;
};
} // namespace weee::core