Skip to content

Conversation

@clawgrip
Copy link
Contributor

No description provided.


// Money Controls Universal Hopper model MK4, standard on the Gaminator cabinet.
// TODO: Needs to be moved to own file
class mc_mk4_hopper_device : public ticket_dispenser_device
Copy link
Member

Choose a reason for hiding this comment

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

I don’t know what you’re trying to do, but making this derive from the ticket dispenser device isn’t the way to do it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've derived from hopper_device instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What I'm trying to do is create a Hopper class for a specific hopper model, so it can serve as a placeholder for the dumped ROM and it can be preserved.

Thx!

Copy link
Member

Choose a reason for hiding this comment

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

What he means is, don't derive it from that class at all. The generic hopper/ticket device is meant to be the mechanical part and sensor. If there's hopper hardware with an MCU controlling it, that can be its own device, with a machine_config that adds HOPPER.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ahhhh... Ok, done!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is it OK now? Thanks!

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.

3 participants