MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Reged: 08/25/04
Posts: 2035
Send PM
Re: [Q] Effect overlay filenames
10/24/10 10:38 PM

check src/emu/video.c (namely the code for load_effect_overlay): the extension you give from command line, if any, is stripped by MAME and replaced with .png, then the file is loaded by render_load_png which in turn uses png_read_file from src/lib/util/png.c (and this one, among other things, verifies the file header and complains if it is not a real .png)

all of the above, if I'm not reading the code in the wrong way...

Entire thread
Subject Posted by Posted on
* [Q] Effect overlay filenames CiroConsentino 10/24/10 11:34 AM
. * Re: [Q] Effect overlay filenames etabeta  10/24/10 10:38 PM
. * Re: [Q] Effect overlay filenames CiroConsentino  10/24/10 11:59 PM

Extra information Permissions
Moderator:  redk9258, URherenow, Tafoid 
2 registered and 32 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1708