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; }