mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-08 20:10:04 -04:00
Improvements
This commit is contained in:
parent
9d7004895c
commit
cf9db7fd93
@ -70,11 +70,11 @@ int main(int /*argc*/, char* /*argv*/[]){
|
||||
std::string entry_name = &entry->name;
|
||||
|
||||
if(entry_name != "entries"){
|
||||
auto base = read_file(base_path + entry_name + "/base");
|
||||
auto size = read_file(base_path + entry_name + "/size");
|
||||
auto base = parse(read_file(base_path + entry_name + "/base"));
|
||||
auto size = parse(read_file(base_path + entry_name + "/size"));
|
||||
auto type = read_file(base_path + entry_name + "/type");
|
||||
|
||||
printf("%s: %s %s %s\n", &entry->name, type.c_str(), base.c_str(), size.c_str());
|
||||
printf("%s: %s (%hB) %h -> %h\n", &entry->name, type.c_str(), size, base, base + size);
|
||||
}
|
||||
|
||||
if(!entry->offset_next){
|
||||
|
Loading…
x
Reference in New Issue
Block a user