Video: Fixed black screen when settings file doesn't contain a palette (use default 2c02 palette in this case)

This commit is contained in:
Sour 2019-03-15 21:28:42 -04:00
parent f5bee853c7
commit cf40b967f4

View file

@ -696,6 +696,11 @@ private:
uint32_t _dipSwitches = 0;
public:
EmulationSettings()
{
memcpy(_userPalette, _ppuPaletteArgb, sizeof(_userPalette));
}
static uint32_t GetMesenVersion()
{
return (_versionMajor << 16) | (_versionMinor << 8) | _versionRevision;