[memdump] Make it work on fields of type (array basic) (#620)

* use `std::function` for this because that's what you're meant to do

* [memdump] Analyze fields of type `(array basic)`

* fix test

* Massively simplify things.
This commit is contained in:
ManDude
2021-06-24 03:07:17 +01:00
committed by GitHub
parent fc105e1f55
commit 997d5b57db
6 changed files with 76 additions and 47 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ u32 exec_runtime(int argc, char** argv) {
// TODO also sync this up with how the game actually renders things (this is just a placeholder)
if (enable_display) {
Gfx::Init();
Gfx::Loop([&tm] { return !tm.all_threads_exiting(); });
Gfx::Loop([&tm]() { return !tm.all_threads_exiting(); });
Gfx::Exit();
}