2004-07-19, 00:14
any chance i could get you guys to add a function to the real xbmcgui library named "emulating" that returns false?
it would make things a whole lot easier with my emulator scripts that i'm making. i know it's a lot to ask to change the main functions just to assist in a little tool like stubbed code, but others developing better emulators or whatever could use the function, too. it would just be a way to see that, this particular instance of the script is running on the legitimate platform (when emulating returns false), or else it's being faked and probably needs extra function calls.
this is all i'd need (written python style, anyway):
to call it, i'd add to the top of my script:
it would make things a whole lot easier with my emulator scripts that i'm making. i know it's a lot to ask to change the main functions just to assist in a little tool like stubbed code, but others developing better emulators or whatever could use the function, too. it would just be a way to see that, this particular instance of the script is running on the legitimate platform (when emulating returns false), or else it's being faked and probably needs extra function calls.
this is all i'd need (written python style, anyway):
Quote:def emulating(self):
return false
to call it, i'd add to the top of my script:
Quote:emulating = xbmcgui.emulating()or, that's short enough, i'd probably just check right on the function:
Quote: if xbmcgui.emulating(): dothis()just a humble request....