diff --git a/src/yaze.cc b/src/yaze.cc index 4c666ac2..7aabf2ce 100644 --- a/src/yaze.cc +++ b/src/yaze.cc @@ -34,8 +34,8 @@ void yaze_unload_rom(z3_rom* rom) { } } -snes_color get_color_from_paletteset(const rom* rom, int palette_set, - int palette, int color) { +snes_color yaze_get_color_from_paletteset(const z3_rom* rom, int palette_set, + int palette, int color) { snes_color color_struct; color_struct.red = 0; color_struct.green = 0; diff --git a/src/yaze.h b/src/yaze.h index c42a191b..be764c33 100644 --- a/src/yaze.h +++ b/src/yaze.h @@ -32,8 +32,8 @@ struct yaze_flags { z3_rom* yaze_load_rom(const char* filename); void yaze_unload_rom(z3_rom* rom); -snes_color get_color_from_paletteset(const rom* rom, int palette_set, - int palette, int color); +snes_color yaze_get_color_from_paletteset(const z3_rom* rom, int palette_set, + int palette, int color); #ifdef __cplusplus }