mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-18 17:34:52 +00:00
imgui elfviewer window . first draft
This commit is contained in:
parent
f35f7b62cd
commit
dda7020ef4
5 changed files with 83 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
#include "spdlog/spdlog.h"
|
||||
#include "types.h"
|
||||
#include "Loader/Elf.h"
|
||||
#include "GUI/ElfViewer.h"
|
||||
|
||||
// This example can also compile and run with Emscripten! See 'Makefile.emscripten' for details.
|
||||
#ifdef __EMSCRIPTEN__
|
||||
|
@ -186,6 +187,8 @@ int main(int argc, char* argv[])
|
|||
ImGui::End();
|
||||
}
|
||||
|
||||
ElfViewer elfview(elf);
|
||||
elfview.display(show_another_window);
|
||||
// Rendering
|
||||
ImGui::Render();
|
||||
glViewport(0, 0, (int)io.DisplaySize.x, (int)io.DisplaySize.y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue