#171570 - Azenris - Sun Nov 29, 2009 9:39 pm
I changed my function from
to
The palettes are pretty much the same during the main menu. (none of which are used) the text colours are unchanged. However the text comes out all blocky. I took some screenshots
First Way: [Images not permitted - Click here to view it]
Changed Way: [Images not permitted - Click here to view it]
_________________
My Homebrew Games
Code: |
// =================================================================================
// SetPalette: void CTileManager::SetPalette(const void *pPalette) { ASSERT(pPalette != NULL, "Palette pointer is NULL") dmaCopy(pPalette, m_pPalette, MODIFABLE_PALETTE_SIZE[BG_PAL]); dmaCopy(pPalette, m_pOriginalPalette, MODIFABLE_PALETTE_SIZE[BG_PAL]); } |
to
Code: |
// =================================================================================
// SetPalette: void CTileManager::SetPalette(const void *pPalette, bool forceAllColours) { ASSERT(pPalette != NULL, "Palette pointer is NULL") int size = (forceAllColours ? 512 : MODIFABLE_PALETTE_SIZE[BG_PAL]); dmaCopy(pPalette, m_pPalette, size); dmaCopy(pPalette, m_pOriginalPalette, size); } |
The palettes are pretty much the same during the main menu. (none of which are used) the text colours are unchanged. However the text comes out all blocky. I took some screenshots
First Way: [Images not permitted - Click here to view it]
Changed Way: [Images not permitted - Click here to view it]
_________________
My Homebrew Games