Refactor CG destination handling

This commit is contained in:
kichikuou
2025-11-11 09:11:44 +09:00
parent 13dbdfc4c1
commit 8f36143ce5
12 changed files with 17 additions and 89 deletions
+1 -3
View File
@@ -374,9 +374,7 @@ void NACT_Sys3::cmd_j()
TRACE("J %d,%d:", x, y);
// x方向はカラム単位で切り捨て
ags->cg_dest_x = column ? x * 8 : x & 0xfff8;
ags->cg_dest_y = y;
ags->set_cg_dest = true;
ags->cg_dest = {column ? x * 8 : x & 0xfff8, y};
}
void NACT_Sys3::cmd_k()