プリンと盾琴: Improved Internal Wait Processing

Improved the internal wait-related processing. As a result, the issue preventing startup under certain limited conditions has been resolved. Thank you BSoD san, rua san.