Skip to content

Commit

Permalink
Record lenght must be set in milliseconds (fixes #11)
Browse files Browse the repository at this point in the history
drfiemost committed Jan 21, 2022

Verified

This commit was signed with the committer’s verified signature.
drfiemost Leandro Nini
1 parent 09512ab commit 8aa4914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IniConfig.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of sidplayfp, a console SID player.
*
* Copyright 2011-2021 Leandro Nini
* Copyright 2011-2022 Leandro Nini
* Copyright 2000-2001 Simon White
*
* This program is free software; you can redistribute it and/or modify
@@ -87,7 +87,7 @@ void IniConfig::clear()
sidplay2_s.version = 1; // INI File Version
sidplay2_s.database.clear();
sidplay2_s.playLength = 0; // INFINITE
sidplay2_s.recordLength = 3 * 60 + 30; // 3.5 minutes
sidplay2_s.recordLength = (3 * 60 + 30) * 1000; // 3.5 minutes
sidplay2_s.kernalRom.clear();
sidplay2_s.basicRom.clear();
sidplay2_s.chargenRom.clear();

0 comments on commit 8aa4914

Please sign in to comment.