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

uknc.cpp: hook up cassette and floppy #12254

Merged
merged 3 commits into from Apr 15, 2024
Merged

Conversation

shattered
Copy link
Contributor

No description provided.

Comment on lines 31 to 34
protected:
// device-level overrides
virtual void device_start() override;
virtual void device_add_mconfig(machine_config &config) override;
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 copy/paste the “device-level overrides” comment – it doesn’t even make sense. Use “device_t implementation” or something if you want a comment for the overridden device_t member functions.

Comment on lines 38 to 39
private:
static void floppy_formats(format_registration &fr);
Copy link
Member

Choose a reason for hiding this comment

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

If this is private and doesn’t need to access other class members, it doesn’t need to be a class member at all. You can throw it in an anonymous namespace and keep it out of the header.

Comment on lines 14 to 16
#include "machine/1801vp128.h"

#include "qbus.h"
Copy link
Member

Choose a reason for hiding this comment

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

Local headers should come first. It helps avoid headers that don’t #include everything they need.

Comment on lines 9 to 14
#include "emu.h"

#include "machine/pdp11.h"
#include "formats/bk0010_dsk.h"

#include "uknc_kmd.h"
Copy link
Member

Choose a reason for hiding this comment

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

The translation unit’s header should be the first thing after the prefix header.

@cuavas cuavas merged commit 217c386 into mamedev:master Apr 15, 2024
0 of 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