diff options
author | Lionel Ulmer | 2002-03-30 10:32:55 +0000 |
---|---|---|
committer | Lionel Ulmer | 2002-03-30 10:32:55 +0000 |
commit | 73c2f8b640f3ee8ce35222921fd7604eb361df68 (patch) | |
tree | 2bcfdbc59bac157354dba69306ca42d9db0e788b | |
parent | 9a751f4e76806ed14de6433a1c36c225a753bae8 (diff) | |
download | scummvm-rg350-73c2f8b640f3ee8ce35222921fd7604eb361df68.tar.gz scummvm-rg350-73c2f8b640f3ee8ce35222921fd7604eb361df68.tar.bz2 scummvm-rg350-73c2f8b640f3ee8ce35222921fd7604eb361df68.zip |
Fixed compilation on Linux (by removing a Windowism :-) ).
svn-id: r3839
-rw-r--r-- | init.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -4,17 +4,17 @@ Scumm::Scumm(void) { /* Initilize all our stuff */ - ZeroMemory(&res, sizeof(res)); - ZeroMemory(&vm, sizeof(vm)); - ZeroMemory(&camera, sizeof(camera)); - ZeroMemory(&mouse, sizeof(mouse)); - ZeroMemory(&string, sizeof(string)); - ZeroMemory(&_mixer_channel, sizeof(_mixer_channel)); - ZeroMemory(&charset, sizeof(charset)); + memset(&res, 0, sizeof(res)); + memset(&vm, 0, sizeof(vm)); + memset(&camera, 0, sizeof(camera)); + memset(&mouse, 0, sizeof(mouse)); + memset(&string, 0, sizeof(string)); + memset(&_mixer_channel, 0, sizeof(_mixer_channel)); + memset(&charset, 0, sizeof(charset)); - //ZeroMemory(_objs, sizeof(_objs)); - ZeroMemory(_colorCycle, sizeof(_colorCycle)); - ZeroMemory(_mouthSyncTimes, sizeof(_mouthSyncTimes)); + //memset(_objs, 0, sizeof(_objs)); + memset(_colorCycle, 0, sizeof(_colorCycle)); + memset(_mouthSyncTimes, 0, sizeof(_mouthSyncTimes)); _resFilePath=0; _resFilePrefix=0; |