diff --git a/incl/yaze.h b/incl/yaze.h index ca5ee02c..618bf62d 100644 --- a/incl/yaze.h +++ b/incl/yaze.h @@ -11,11 +11,8 @@ extern "C" { #include "zelda.h" -typedef struct yaze_project yaze_project; - typedef struct yaze_editor_context { zelda3_rom* rom; - yaze_project* project; const char* error_message; } yaze_editor_context; @@ -28,17 +25,9 @@ typedef enum yaze_status { int yaze_app_main(int argc, char** argv); void yaze_check_version(const char* version); -yaze_status yaze_init(yaze_editor_context*); +yaze_status yaze_init(yaze_editor_context*, char* rom_filename); yaze_status yaze_shutdown(yaze_editor_context*); -struct yaze_project { - const char* name; - const char* filepath; - const char* rom_filename; -}; - -yaze_project yaze_load_project(const char* filename); - typedef struct yaze_bitmap { int width; int height; diff --git a/incl/zelda.h b/incl/zelda.h index de6d4038..73786b98 100644 --- a/incl/zelda.h +++ b/incl/zelda.h @@ -87,7 +87,7 @@ const static zelda3_version_pointers zelda3_jp_pointers = { typedef struct zelda3_rom { const char* filename; uint8_t* data; - size_t size; + uint64_t size; void* impl; // yaze::Rom* } zelda3_rom; diff --git a/src/app/core/project.h b/src/app/core/project.h index 4556862d..30807836 100644 --- a/src/app/core/project.h +++ b/src/app/core/project.h @@ -7,7 +7,6 @@ #include #include "absl/status/status.h" -#include "app/core/platform/file_dialog.h" namespace yaze {