diff --git a/plugins/GSdx/GSClut.cpp b/plugins/GSdx/GSClut.cpp index 4a56f05dbe..0b9a925346 100644 --- a/plugins/GSdx/GSClut.cpp +++ b/plugins/GSdx/GSClut.cpp @@ -36,30 +36,12 @@ GSClut::GSClut(GSLocalMemory* mem) m_write.dirty = true; m_read.dirty = true; - for (int i = 0; i < 16; i++) + for(int i = 0; i < 16; i++) { - for (int j = 0; j < 64; j++) + for(int j = 0; j < 64; j++) { - switch (i) - { - case 0: - case 1: - m_wc[0][i][j] = &GSClut::WriteCLUT32_I8_CSM1; - m_wc[1][i][j] = &GSClut::WriteCLUT32_CSM2<256>; - break; - case 2: - m_wc[0][i][j] = &GSClut::WriteCLUT16_I8_CSM1; - m_wc[1][i][j] = &GSClut::WriteCLUT16_CSM2<256>; - break; - case 10: - m_wc[0][i][j] = &GSClut::WriteCLUT16S_I8_CSM1; - m_wc[1][i][j] = &GSClut::WriteCLUT16S_CSM2<256>; - break; - default: - m_wc[0][i][j] = &GSClut::WriteCLUT_NULL; - m_wc[1][i][j] = &GSClut::WriteCLUT_NULL; - break; - } + m_wc[0][i][j] = &GSClut::WriteCLUT_NULL; + m_wc[1][i][j] = &GSClut::WriteCLUT_NULL; } }