| 761 | } |
| 762 | |
| 763 | Result Renderer::LoadCustomPalette(const byte (*colors)[3],const bool emphasis) |
| 764 | { |
| 765 | const Result result = palette.LoadCustom( colors, emphasis ); |
| 766 | |
| 767 | if (NES_SUCCEEDED(result) && result != RESULT_NOP && palette.GetType() == PALETTE_CUSTOM) |
| 768 | state.update |= uint(State::UPDATE_PALETTE|State::UPDATE_FILTER); |
| 769 | |
| 770 | return result; |
| 771 | } |
| 772 | |
| 773 | void Renderer::ResetCustomPalette() |
| 774 | { |
no test coverage detected