|
How to get an instance of "running_machine" outside the mame.c scope?
#221616 - 05/10/10 11:01 AM
|
|
|
Hi --
I can't find the answer to this on the forums, hoping you can help out.
There is a whole lot of useful information stored in the running_machine class (global_machine), but I can't get an instance of it outside the mame.c scope (global_machine is declared as "static", and is not extern'able).
How do you access the running_machine class in your code?
Thanks! Steve
|
|
|
Sune |
Connected
|
|
|
Reged: 09/21/03
|
Posts: 5648
|
Loc: Lagoa Santa, Brasil
|
|
Send PM
|
|
|
Re: How to get an instance of "running_machine" outside the mame.c scope?
[Re: fuji8bit]
#221679 - 05/11/10 04:27 AM
|
|
|
> How do you access the running_machine class in your code?
If you could say something about what you're trying to achieve I think your chances of getting help with this would increase. Depending on what it is of course..
S
|
|
|
|
Re: How to get an instance of "running_machine" outside the mame.c scope?
[Re: fuji8bit]
#221681 - 05/11/10 04:52 AM
|
|
|
I'm fairly sure you aren't supposed to use running_machine. Why would you need it?
|
Twitter |
I like the challenge of "doing the impossible" with older hardware, and pushing it as far as it can go
|
|