amhndu / SimpleNES

An NES emulator in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make编译报错,make error

LostYuyuko opened this issue · comments

/mnt/hgfs/sjt/SimpleNES/src/PPU.cpp:181:93: error: no matching function for call to ‘sf::Color::Color(const Uint32&)’
m_pictureBuffer[x][y] = sf::Color(colors[m_bus.readPalette(paletteAddr)]);