diff --git a/src/app/gfx/bitmap.cc b/src/app/gfx/bitmap.cc index c65b168d..0d00bba3 100644 --- a/src/app/gfx/bitmap.cc +++ b/src/app/gfx/bitmap.cc @@ -59,7 +59,8 @@ void Bitmap::Create(int width, int height, int depth, int size) { surface_->pixels = pixel_data_; } -void Bitmap::Create(int width, int height, int depth, uchar *data, int size, const SNESPalette &palette) { +void Bitmap::Create(int width, int height, int depth, uchar *data, int size, + SNESPalette &palette) { width_ = width; height_ = height; depth_ = depth; diff --git a/src/app/gfx/bitmap.h b/src/app/gfx/bitmap.h index f3f3ea39..1c696f48 100644 --- a/src/app/gfx/bitmap.h +++ b/src/app/gfx/bitmap.h @@ -19,7 +19,8 @@ class Bitmap { void Create(int width, int height, int depth, uchar *data); void Create(int width, int height, int depth, int data_size); - void Create(int width, int height, int depth, uchar *data, int size, const SNESPalette &palette); + void Create(int width, int height, int depth, uchar *data, int size, + SNESPalette &palette); void CreateTexture(std::shared_ptr renderer); void ApplyPalette(const SNESPalette &palette);