Previous Thread
Next Thread
Print Thread
Page 3 of 4 1 2 3 4
Joined: Dec 1969
Posts: 920
Likes: 3
R
Senior Member
Senior Member
R Online: Content
Joined: Dec 1969
Posts: 920
Likes: 3
I run a separate pthread that increments a volatile integer (frame rate) times per second. This works for me, though I doubt it'll win any efficiency awards.

Joined: Apr 2006
Posts: 15
4
Junior Member
Junior Member
4 Offline
Joined: Apr 2006
Posts: 15
I have one other weird problem. Basically after I quit full-screen MAME, all my applcation's minimise buttons are greyed out, and remain that way until I quit + restart the programs!

You can see this yourself by doing (but lots of other things work)

1) Open Safari
2) Open Terminal
3) Type "./mamepm mslug"
4) wait till you get in-game, then quit
5) all the minimise buttons are greyed out!

I've been trying to track down whats causing this, but I can't find it. I don't think I'm running any unusual programs that could be causing this.

Can anyone else confirm this problem? If not, I'll dig more myself.

Joined: Feb 2000
Posts: 219
Likes: 1
T
Senior Member
Senior Member
T Offline
Joined: Feb 2000
Posts: 219
Likes: 1
4zumanga, it's not happening here using mameg5. All of my minimise buttons stay yellow.


tim lindner
tlindner@macmess.org
Joined: Apr 2006
Posts: 15
4
Junior Member
Junior Member
4 Offline
Joined: Apr 2006
Posts: 15
I've tried figuring out what is causing this problem, and I can't track it down myself. I think I'll wait for the next version, to see if that happens to fix it, and then set off on a bisection search to find the line which is causing me problems if it is still there.

Joined: Mar 2001
Posts: 17,249
Likes: 265
R
Very Senior Member
Very Senior Member
R Offline
Joined: Mar 2001
Posts: 17,249
Likes: 265
I'm definitely not seeing that. I *am* seeing pretty substantial speed boosts on the G5 with the new OpenGL backend though, so once I qualify it on MinGW tomorrow I'll post it for everyone to enjoy.

Joined: May 1999
Posts: 616
Likes: 1
Senior Member
Senior Member
Joined: May 1999
Posts: 616
Likes: 1
Quote
with the new OpenGL backend
So, can it still be called SDLMAME if it uses OpenGL instead of SDL? wink

Joined: Jun 2001
Posts: 536
Likes: 42
O
Senior Member
Senior Member
O Offline
Joined: Jun 2001
Posts: 536
Likes: 42
Instead? It still uses sdl.

OG.

Joined: Dec 1969
Posts: 920
Likes: 3
R
Senior Member
Senior Member
R Online: Content
Joined: Dec 1969
Posts: 920
Likes: 3
I can see it now...

./sdlopenglxcodemameg5withoptimizations starwars

Joined: Mar 2001
Posts: 17,249
Likes: 265
R
Very Senior Member
Very Senior Member
R Offline
Joined: Mar 2001
Posts: 17,249
Likes: 265
SDL also provides cross-platform OGL setup & teardown, so you don't have to deal with WGL, GLX, or any of the 3 GL/window management APIs currently available on OS X (4 actually, since it supports GLX too).

Joined: May 1999
Posts: 616
Likes: 1
Senior Member
Senior Member
Joined: May 1999
Posts: 616
Likes: 1
Forgive my ignorance, but AFAIK SDL is a graphics library and OpenGL is a graphics library, too.

They serve (approximately) the same purpose, so why use both?

Page 3 of 4 1 2 3 4

Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
3 members (yugffuts, exidyboy, Heihachi_73), 105 guests, and 0 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,345
Posts122,343
Members5,082
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Powered by UBB.threads™ PHP Forum Software 8.0.0