Video: Fixed black screen when settings file doesn't contain a palette (use default 2c02 palette in this case)
This commit is contained in:
parent
f5bee853c7
commit
cf40b967f4
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue