and which parameters did you use for diff & patch?
I used these parameters diff -Nru C:\users\myname\desktop\mamenofix which has the unmodified source code C:\users\myname\desktop\mamefix which has the modified source code >model1.diff if that helps
note I used myname instead of my real name for privacy reasons