Fix incorrect value used for loop point
This commit is contained in:
parent
ba59bb8028
commit
e35316fc58
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ void ZsmBackend::load(const char *filename) {
|
|||
while (true) {
|
||||
tmpDelayTicks -= get_delay_per_frame();
|
||||
if (tmpDelayTicks < 0.0) {
|
||||
if (file->get_pos() == (size_t)loop_point) loop_pos = time;
|
||||
if (file->get_pos() == this->loop_point) loop_pos = time;
|
||||
ZsmCommand cmd = get_command();
|
||||
if (cmd.id == ZsmEOF) {
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue