Previous Thread
Next Thread
Print Thread
Page 4 of 4 1 2 3 4
Re: SDL2 vs. SDL1 regressions [Re: R. Belmont] #98023
01/24/15 10:40 PM
01/24/15 10:40 PM
Joined: May 2008
Posts: 4,892
Germany
Q
qmc2 Offline
Very Senior Member
qmc2  Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,892
Germany
Originally Posted By R. Belmont
That output should be -verbose only and beatings will continue until Courier fixes it ;-)

Ah, OK smile.

This would fix it (actually appears to be a general issue):

Code:
diff --git a/src/osd/modules/osdmodule.c b/src/osd/modules/osdmodule.c
index 8868d51..e907d89 100644
--- a/src/osd/modules/osdmodule.c
+++ b/src/osd/modules/osdmodule.c
@@ -27,7 +27,7 @@ void osd_module_manager::register_module(const module_type &mod_type)
     osd_module *module = mod_type();
     if (module->probe())
     {
-        osd_printf_info("===> registered module %s %s\n", module->name(), module->type());
+        osd_printf_verbose("===> registered module %s %s\n", module->name(), module->type());
 
         int i;
         for (i = 0; m_modules[i] != NULL; i++)
@@ -36,7 +36,7 @@ void osd_module_manager::register_module(const module_type &mod_type)
     }
     else
     {
-        osd_printf_info("===> not supported %s %s\n", module->name(), module->type());
+        osd_printf_verbose("===> not supported %s %s\n", module->name(), module->type());
         module->~osd_module();
         osd_free(module);
     }


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
Re: SDL2 vs. SDL1 regressions [Re: R. Belmont] #98024
01/25/15 12:19 AM
01/25/15 12:19 AM
Joined: Feb 2007
Posts: 464
C
couriersud Offline
Senior Member
couriersud  Offline
Senior Member
C
Joined: Feb 2007
Posts: 464
That will be fixed with the next commit. No more beatings, please :-)

osd_printf_verbose will however not work even with "-verbose". At the time modules are registered options have not yet been processed. Anyhow, this is pure debug only.

Re: SDL2 vs. SDL1 regressions [Re: R. Belmont] #98182
02/10/15 07:29 PM
02/10/15 07:29 PM
Joined: Nov 2008
Posts: 74
Germany
P
pintcat Offline
Member
pintcat  Offline
Member
P
Joined: Nov 2008
Posts: 74
Germany
Finally I managed to build the latest MAME on Debian 7 (Wheezy). This system is still considered as the latest stable Debian version, but offers only support for SDL2 2.0.0. MAME refused to compile due to to the lack of some SDL2 related packages like libsdl2-ttf and some of the earlier mentioned SDL_HINT_constants not being defined in this version. I was about to stick with the good old and well supported SDL1.2, but then something carried me away and I started to build Debian packages which is always a pain if you want them to be system conform. But it's done and works now.
Sometimes I'm wondering if I'm the only man on earth who uses up-to-date MAME releases on these ancient "stable" systems since no one else complains about such issues... laugh



Page 4 of 4 1 2 3 4

Moderated by  R. Belmont 

Who's Online Now
0 registered members (), 86 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,613
Posts112,658
Members4,833
Most Online324
Dec 20th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.035s Queries: 15 (0.017s) Memory: 5.6541 MB (Peak: 5.8198 MB) Zlib enabled. Server Time: 2019-01-16 09:49:43 UTC