Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove defined-out code #12712

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Dentomologist
Copy link
Contributor

Remove various blocks of code that are surrounded by #if 0 or commented out. Some of these have been hanging around for more than a decade.

I chose to keep the loops instead of the unrolling since we don't normally do that, but I can do it the other way around if someone thinks it's worth it.

Comment on lines -122 to -127
#if 0
INFO_LOG_FMT(DSPHLE, "Command list:");
for (u32 i = 0; m_cmdlist[i] != CMD_END; ++i)
INFO_LOG_FMT(DSPHLE, "{:04x}", m_cmdlist[i]);
INFO_LOG_FMT(DSPHLE, "-------------");
#endif
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one used to have a purpose: log the AX command list in case someone needed it; but only when compiled in. No strong feelings if we want to remove it though, it's easy enough to rewrite from scratch if necessary 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants