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

ninjakd2.cpp: Updates and cleanups: #12385

Merged
merged 4 commits into from
May 18, 2024
Merged

Conversation

cam900
Copy link
Contributor

@cam900 cam900 commented May 18, 2024

  • Fix robokid, omegaf palette format
  • Fix function namings
  • Fix spacings
  • Reduce preprocessor defines
  • Suppress side effect for debugger read
  • Use C++ style comments for single line comments
  • Use correct typename values
  • Fix ROM region namings
  • Constantize variables
  • Reduce literal tag usage

cam900 and others added 2 commits May 18, 2024 22:03
- Fix robokid, omegaf palette format
- Fix function namings
- Fix spacings
- Reduce preprocessor defines
- Suppress side effect for debugger read
- Use C++ style comments for single line comments
- Use correct typename values
- Fix ROM region namings
- Constantize variables
…'t mix data members with member functions, etc.
Comment on lines 345 to 348
if (!m_next_sprite_overdraw_enabled)
{
m_sprites_bitmap.fill(0xf);
}
else
{
Copy link
Member

Choose a reason for hiding this comment

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

Please don’t remove the braces from one path where all other paths have braces. It’s a common recommendation to use braced compound statements for all paths if at least one path contains multiple lines.

@cuavas cuavas merged commit e8fdcde into mamedev:master May 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants