From 67cc1b8a84e8cbc344e87fe0f4715cae96199b69 Mon Sep 17 00:00:00 2001 From: Andrew Kurushin Date: Sun, 24 Oct 2010 22:17:44 +0000 Subject: SAGA: replace Resource:loadResource malloc with ByteArray class svn-id: r53779 --- engines/saga/script.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/saga/script.h') diff --git a/engines/saga/script.h b/engines/saga/script.h index 3423ddd05c..e5054d5f4e 100644 --- a/engines/saga/script.h +++ b/engines/saga/script.h @@ -392,10 +392,10 @@ public: void wakeUpThreads(int waitType); void wakeUpThreadsDelayed(int waitType, int sleepTime); - void loadVoiceLUT(VoiceLUT &voiceLUT, const byte *resourcePointer, size_t resourceLength); + void loadVoiceLUT(VoiceLUT &voiceLUT, const ByteArray &resourceData); protected: - void loadModuleBase(ModuleData &module, const byte *resourcePointer, size_t resourceLength); + void loadModuleBase(ModuleData &module, const ByteArray &resourceData); // runThread returns true if we should break running of other threads bool runThread(ScriptThread &thread); -- cgit v1.2.3