buzz forums

Get CMachineInterface* from CMachine* ?
Page 1 of 1

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


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