[Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.106,1.107

Travis Howell kirben at optusnet.com.au
Sun Jun 1 03:22:03 CEST 2003


Please revert this change, we only bypass a games copy protection if that
version of the game was re-released later without copy protection.

Nicolas Bacca wrote:
> Update of /cvsroot/scummvm/scummvm/scumm
> In directory sc8-pr-cvs1:/tmp/cvs-serv6056
>
> Modified Files:
> script.cpp
> Log Message:
> Bypass Sam & Max floppy copy protection
>
> Index: script.cpp
> ===================================================================
> RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
> retrieving revision 1.106
> retrieving revision 1.107
> diff -u -d -r1.106 -r1.107
> --- script.cpp 31 May 2003 11:57:17 -0000 1.106
> +++ script.cpp 1 Jun 2003 10:15:31 -0000 1.107
> @@ -510,6 +510,14 @@
>   } else {
>   var &= 0xFFF;
>   }
> +
> +#if defined(BYPASS_COPY_PROT)
> + if (_gameId == GID_SAMNMAX && var == 8 && currentRoom == 71 &&
> !copyprotbypassed) { + copyprotbypassed = true;
> + return vm.localvar[_currentScript][7] + 1;
> + }
> +#endif
> +
>   checkRange(20, 0, var, "Local variable %d out of range(r)");
>   return vm.localvar[_currentScript][var];
>   }
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> Scummvm-cvs-logs mailing list
> Scummvm-cvs-logs at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-cvs-logs





More information about the Scummvm-git-logs mailing list