Skip to content

Commit

Permalink
fix gme looping
Browse files Browse the repository at this point in the history
  • Loading branch information
Yozzaxia1311 committed Oct 1, 2022
1 parent b7316e6 commit f6f1c8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions core/lovegme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ gme_err_t gme_seek( Music_Emu*, int msec );

void gme_set_tempo( Music_Emu*, double tempo);
void gme_enable_accuracy( Music_Emu*, int enabled);
void gme_set_autoload_playback_limit( Music_Emu *, int do_autoload_limit );

typedef struct gme_info_t
{
Expand Down Expand Up @@ -113,6 +114,7 @@ function LoveGme:loadFile(fileName)
fileData:release()
self.track_count = gme.gme_track_count( self.emu[0] )
self.voice_count = gme.gme_voice_count( self.emu[0] )
gme.gme_set_autoload_playback_limit( self.emu[0], 0 )
self:setTrack(0)
end

Expand Down
1 change: 0 additions & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ drawShader = drawShader and love.graphics.newShader([[
}
]])


serQueue = nil
deserQueue = nil

Expand Down

0 comments on commit f6f1c8e

Please sign in to comment.