add method for setting the frontend time before game load... this will be needed for saturnus, as it may query time to set the initial rtc
This commit is contained in:
parent
5fb7b486b3
commit
0cc61c3744
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -35,6 +35,11 @@ ECL_EXPORT void PreInit()
|
|||
SetupMDFNGameInfo();
|
||||
}
|
||||
|
||||
ECL_EXPORT void SetInitialTime(int64_t initialTime)
|
||||
{
|
||||
FrontendTime = initialTime;
|
||||
}
|
||||
|
||||
static void Setup()
|
||||
{
|
||||
pixels = (uint32_t*)alloc_invisible(Game->fb_width * Game->fb_height * sizeof(*pixels));
|
||||
|
|
Loading…
Reference in New Issue