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

etabeta
Reged: 08/25/04
Posts: 2036
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:  Robbbert, Tafoid 
0 registered and 345 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1994