From 0a04fb8d6a3d5f53b96e07aed9610f4591e881b9 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sun, 11 Jun 2006 21:09:27 +0000 Subject: [PATCH] Resume functionality switched to frame numbers --- mvpclient.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mvpclient.c b/mvpclient.c index afdb9bb..7e49785 100644 --- a/mvpclient.c +++ b/mvpclient.c @@ -114,7 +114,9 @@ cChannel* MVPClient::channelFromNumber(ULONG channelNumber) void MVPClient::writeResumeData() { - config.setValueLongLong("ResumeData", (char*)rp->getCurrentRecording()->FileName(), rp->getLastPosition()); + config.setValueLong("ResumeData", + (char*)rp->getCurrentRecording()->FileName(), + rp->frameNumberFromPosition(rp->getLastPosition()) ); } void MVPClient::sendULONG(ULONG ul) -- 2.39.5