Quote:
Originally Posted by Muji-FightR
Call IsCDInserted
Test EAX, EAX
Blah Blah
You can just patch the "CALL IsCD" into "MOV EAX, 1"
|
You gotta be careful with this one! There may be some relocation (or whatever; Hacker's View greys it out) on the address of the call. If you replace the call with something completely different, the bytes of that instruction (or its operands) will be changed by the relocator (or whatever) in the memory, before the program is started, and the code will crash. I've run into this a few times and now I'm not doing this anymore...
__________________
Joe Forster/STA
For more information, see the
FileForums forum rules and the
PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage:
http://sta.c64.org, E-mail:
[email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!