sdl: use new FCEUI_SetUserPallete function
This commit is contained in:
parent
090fc71eab
commit
2bb7eb0696
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue