puzzloop
Moderator: Chad
here's some code for thought, i haven't checked the official mame source but this (in XMAME source) is a nono when it comes to srand and expecting the same result, these should either be constants passed to srand or ideally: when recording, time(0) is stored in the inp. when playsback: it can seed srand with the inp loaded time.
srand(time(NULL));
./src/unix/config.c
srand( (unsigned)time( NULL ) );
srand((unsigned)time(NULL));
./src/windowsui/Win32ui.c
srand(time(0));
./src/windows/config.c
Since we don't want to change the inp format just yet: barry can you try replacing the time(NULL)'s that are passed to srands with constant 0's. and give me a copy to see if this affects anything? that is if this is in the official source too and not just xmame. I'll try doing it with xmame and see what happens.
srand(time(NULL));
./src/unix/config.c
srand( (unsigned)time( NULL ) );
srand((unsigned)time(NULL));
./src/windowsui/Win32ui.c
srand(time(0));
./src/windows/config.c
Since we don't want to change the inp format just yet: barry can you try replacing the time(NULL)'s that are passed to srands with constant 0's. and give me a copy to see if this affects anything? that is if this is in the official source too and not just xmame. I'll try doing it with xmame and see what happens.
-skito
I tend to think that the problem with Puzz Loop is more likely to do the emulation of the inputs, as it says in the source that they were problematic in getting to work in the first place. That is only in regards to Puzz Loop and no other Super Nova game, which as far as I know, all playback fine.
- Barry Rodewald
MARP Assistant Web Maintainer

MARP Assistant Web Maintainer

Yes,it's already in 0.63/0.64,and it should work for Puzz Loop as well,if it's really a RTC issue and not a rand()-specific thing...mahlemiut wrote:I believe it's already in 0.63.Haze wrote:I think somebody (Kale?) came up with an RTC patch for it .. if you try that and find it works fine I can put it in the code for the driver, if not I don't know how to fix it....
And yes it's me the guy that submitted the RTC patch.My real name is Angelo Salese...