From 2bb7eb06965eb096a28019c8855179ad31366d7f Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Sun, 13 Sep 2015 18:31:34 +0000 Subject: [PATCH] sdl: use new FCEUI_SetUserPallete function --- trunk/src/drivers/sdl/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/drivers/sdl/config.cpp b/trunk/src/drivers/sdl/config.cpp index 537a59c9..68018e0a 100644 --- a/trunk/src/drivers/sdl/config.cpp +++ b/trunk/src/drivers/sdl/config.cpp @@ -50,7 +50,7 @@ LoadCPalette(const std::string &file) FCEUD_PrintError(errorMsg); return 0; } - FCEUI_SetPaletteArray(tmpp); + FCEUI_SetUserPalette(tmpp, result/3); fclose(fp); return 1; }