12/02/28 22:39:53.54
xとyのループ前に
scrntype ptbl[9][9];
for (int t = 0; t < 9; t++) {
for (int g = 0; g < 9; g++) {
ptbl[t][g] = t ? palette_text_pc[t] : palette_graph_pc[g];
}
}
とかやって、
for(int x = 0; x < 640; x++) {
dest0[x] = ptbl[src_t[x]][src_g[x]];
}
とかやるかな。
xは1づつ繰り上げるとループ処理が重いから多少展開したほうが速いだろう。