Refactor key release handling in NACT commands

This commit is contained in:
kichikuou
2025-11-27 08:49:51 +09:00
parent fe17265cfb
commit ad73ed9271
6 changed files with 16 additions and 72 deletions
+1 -9
View File
@@ -805,15 +805,7 @@ void NACT_Sys2::cmd_y()
sys_sleep(16);
}
sys_sleep(100);
for(;;) {
if(terminate) {
return;
}
if(!(get_key() & 0x18)) {
break;
}
sys_sleep(16);
}
wait_key_release(0x18);
break;
case 254:
RND = 0;