Constness

This commit is contained in:
Dylan G
2021-06-17 01:37:33 +01:00
parent 163e12d38a
commit 3f2e4c03f3
2 changed files with 2 additions and 2 deletions

View File

@@ -160,7 +160,7 @@ void start_frame(void);
void end_frame(void); void end_frame(void);
void set_screen(C3D_RenderTarget * screen); void set_screen(C3D_RenderTarget * screen);
void throw_error(char* error, ErrorLevel level); void throw_error(const char* error, ErrorLevel level);
bool draw_confirm(const char* conf_msg, Entry_List_s* list); bool draw_confirm(const char* conf_msg, Entry_List_s* list);
void draw_preview(C2D_Image preview, int preview_offset); void draw_preview(C2D_Image preview, int preview_offset);

View File

@@ -275,7 +275,7 @@ void draw_base_interface(void)
set_screen(top); set_screen(top);
} }
void throw_error(char* error, ErrorLevel level) void throw_error(const char* error, ErrorLevel level)
{ {
Text bottom_text = TEXT_AMOUNT; Text bottom_text = TEXT_AMOUNT;
Color text_color = COLOR_WHITE; Color text_color = COLOR_WHITE;