mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-06 19:32:18 +00:00
adding tests for the getPalette function
This commit is contained in:
@@ -46,7 +46,9 @@ namespace ComSquare::PPU
|
||||
//! @return The color Reference
|
||||
uint8_t getPixelReferenceFromTileRow(uint16_t tileRowAddress, uint8_t pixelIndex);
|
||||
//! @brief Gives the actual selected palette with all of it's colors
|
||||
//! @param nbPalette The index of the palette wanted
|
||||
//! @return The array of color of the palette
|
||||
//! @note The return and argument depends on the current bpp
|
||||
//! @warning Values are CGRAM colors use PPU::getRealColor function to get the actual real color
|
||||
std::vector<uint16_t> getPalette(int nbPalette);
|
||||
//! @brief read the 2bpp value for a pixel (used multple times for 4bpp and 8bpp)
|
||||
|
||||
Reference in New Issue
Block a user