Constness
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user