NO!!!
do a "make clean" then just a "make" If it doesn;t work (IE it didn't recompile the changed files, THEN you have to start from scratch deleting the entire obj folder. That only happens under rare occations though. For this, a make clean should be fine.
Hmmmn, I always thought a make clean deleted all the obj files to start with. I'll give it a shot anyways.
However artwork_crop works this will work the exact same way.
That's the problem, for me artwork crop works by click on the "Crop" checkbox in Emuloader. Been a long time since I did straight command line options. Actually, I think for testing, I will go back to my initial idea: rename mame.exe to mame-old.exe, compile the new one with just the artwork.c changes and name it mame.exe. Play some vertical games in MAME and see what happens.
BTW, what does artwork_crop do to vertical games now?
That one I can answer, tested with centipede and space invaders, the game displays vertically full screen (if preserve aspect ratio is on), overlay art is cropped to the game screen size, bezel art is basically not shown.
Because will both options on in the artwork file could produce abnormal effects. They should actually be combined into one function with a if else statement
something like
if(option turned on)
if(this game is horizontal)
then crop with artwork_crop code
else
then crop with vertical code
Actually, I think you may want to add a crop with horizontal code (which would show the top and bottom portion of bezels when playing horizontal games on a vertical monitor), the new crop with horizontal code, and the existing code for horizontal vector games (or maybe the existing code would show top and bottom bezels for horizontal vector games.
I agree, the code could be combined into one function. I will probably just test it the way I wrote it and then post the new code at
www.mame.net or send it to submit@mame.net (I think that's the proper way to do it) and will include your fixes and suggestions also.