sdl: use new FCEUI_SetUserPallete function

This commit is contained in:
punkrockguy318 2015-09-13 18:31:34 +00:00
parent 090fc71eab
commit 2bb7eb0696
1 changed files with 1 additions and 1 deletions

View File

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