Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
zsilencer
modplug.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File modplug.patch of Package zsilencer
From 085a2aea74e8014ee1bf1824542b1a51505a54a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= <Mailaender@users.noreply.github.com> Date: Sun, 27 Dec 2020 20:07:50 +0100 Subject: [PATCH] MIX_INIT_MODPLUG is now implied by MIX_INIT_MOD --- src/game.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game.cpp b/src/game.cpp index 9fc6463..ff93c09 100755 --- a/src/game.cpp +++ b/src/game.cpp @@ -171,11 +171,11 @@ bool Game::Load(char * cmdline){ return false; } int mixinitted; - if((mixinitted = Mix_Init(MIX_INIT_MP3 | MIX_INIT_MOD | MIX_INIT_MODPLUG)) == -1){ + if((mixinitted = Mix_Init(MIX_INIT_MP3 | MIX_INIT_MOD )) == -1){ printf("Could not initialize SDL_mixer %s\n", Mix_GetError()); return false; } - if(!(mixinitted & MIX_INIT_MOD) && !(mixinitted & MIX_INIT_MODPLUG)){ + if(!(mixinitted & MIX_INIT_MOD) && !(mixinitted & MIX_INIT_MOD)){ printf("Could not initialize MOD support %s\n", Mix_GetError()); } if(!(mixinitted & MIX_INIT_MP3)){ @@ -5807,4 +5807,4 @@ bool Game::HandleSDLEvents(void){ } } return true; -} \ No newline at end of file +}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor