Fix issue 46 : part 2
in Error(0) the palette was not properly restored as it was always restored to the Main_palette. Now we really restore the right palette ! Also clarified/simplified the change directory code in case of error. http://pulkomandy.tk/projects/GrafX2/ticket/46
This commit is contained in:
@@ -37,6 +37,7 @@ void Remap_general_lowlevel(byte * conversion_table,byte * in_buffer, byte *out_
|
||||
void Scroll_picture(byte * main_src, byte * main_dest, short x_offset,short y_offset);
|
||||
void Wait_end_of_click(void);
|
||||
void Set_color(byte color, byte red, byte green, byte blue);
|
||||
const T_Components * Get_current_palette(void);
|
||||
void Set_palette(T_Palette palette);
|
||||
void Palette_256_to_64(T_Palette palette);
|
||||
void Palette_64_to_256(T_Palette palette);
|
||||
|
||||
Reference in New Issue
Block a user