# game-music-emu: fix gme\_autoload\_playback\_limit so it's actually exported in shared libs

**URL:** <https://discourse.libsdl.org/t/game-music-emu-fix-gme-autoload-playback-limit-so-its-actually-exported-in-shared-libs/46380>\
**Category:** SDL Commits\
**Created:** [October 4, 2023, 11:36am UTC](https://discourse.libsdl.org/t/game-music-emu-fix-gme-autoload-playback-limit-so-its-actually-exported-in-shared-libs/46380 "2023-10-04T11:36:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [October 4, 2023, 11:36am UTC](https://discourse.libsdl.org/t/game-music-emu-fix-gme-autoload-playback-limit-so-its-actually-exported-in-shared-libs/46380/1 "2023-10-04T11:36:07Z")

</div>

> <https://github.com/libsdl-org/game-music-emu/commit/2f0f07cf7ff2d03f2632c2ab3cc19e37e8c158cf>

```diff
From 2f0f07cf7ff2d03f2632c2ab3cc19e37e8c158cf Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 4 Oct 2023 14:24:40 +0300
Subject: [PATCH] fix gme_autoload_playback_limit so it's actually exported in
 shared libs

---
 gme/gme.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gme/gme.cpp b/gme/gme.cpp
index 9d81b89..1c16c78 100644
--- a/gme/gme.cpp
+++ b/gme/gme.cpp
@@ -202,7 +202,7 @@ void gme_set_autoload_playback_limit( Music_Emu *emu, int do_autoload_limit )
 	emu->set_autoload_playback_limit( do_autoload_limit != 0 );
 }
 
-int gme_autoload_playback_limit( Music_Emu *const emu )
+int gme_autoload_playback_limit( Music_Emu const* emu )
 {
 	return emu->autoload_playback_limit();
 }

```
