buzz forums
http://forums.jeskola.net/

Get CMachineInterface* from CMachine* ?
http://forums.jeskola.net/viewtopic.php?f=3&t=1931
Page 1 of 1

Author:  IXix [ Thu Mar 19, 2015 1:08 pm ]
Post subject:  Get CMachineInterface* from CMachine* ?

Hi,

I'd like to be able to store/restore a target machine's full state (using c++) the same as happens when you save/load a song or template, so I need to call mi::Save/Load() directly. Can I get a CMachineInterface* for a specific machine? I can't see a way.

If not, a method to get a pointer or functions to get/set a machine state would be much appreciated.

Author:  IXix [ Fri Mar 20, 2015 11:14 am ]
Post subject:  Re: Get CMachineInterface* from CMachine* ?

Actually, scratch that. Calling mi::Init() any time other than load would probably be crash city. Need to rethink. :(

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/