Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MAME32 Plus compile not affected by change to driver.h  (Read 940 times)

0 Members and 1 Guest are viewing this topic.

Gradius

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 117
  • Last login:February 04, 2008, 03:10:49 pm
  • I'm a llama!
MAME32 Plus compile not affected by change to driver.h
« on: February 14, 2006, 02:26:36 am »
I'm compiling my own build over MAME32 Plus for personal use. I have successfuly compiled it and everything works fine. However, one of the changes I usually do, doesn't seem to work here. This change is made to driver.h

I change this line:
machine->frames_per_second = (rate);

with this other:
machine->frames_per_second = ((rate) >= 50) ? 60 : (rate);

That works with the official MAME32, which I also compile with this modification. It makes all games with a refresh rate between 50 and 60 automatically run at 60hz (same result as with the old SmoothMAME drivers).

Could you explain why it doesn't work here? Can you figure out way to achieve this? I got no errors during the compilation, but those games keep on running at threir original refresh rates instead than forced to 60hz.
« Last Edit: February 14, 2006, 03:15:21 am by Gradius »