From 948c555ea616821ed7c2678ad406ed5bea392339 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Tue, 31 Dec 2019 19:19:42 +0000 Subject: ALL: Create all instances of NEResources and PEResources using new instead of on the stack Also adapted WinCursorGroup and MacMenu to reflect this. --- graphics/wincursor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics/wincursor.h') diff --git a/graphics/wincursor.h b/graphics/wincursor.h index 2780b23a90..d77314458b 100644 --- a/graphics/wincursor.h +++ b/graphics/wincursor.h @@ -57,9 +57,9 @@ struct WinCursorGroup { Common::Array cursors; /** Create a cursor group from an NE EXE, returns 0 on failure */ - static WinCursorGroup *createCursorGroup(Common::NEResources &exe, const Common::WinResourceID &id); + static WinCursorGroup *createCursorGroup(Common::NEResources *exe, const Common::WinResourceID &id); /** Create a cursor group from an PE EXE, returns 0 on failure */ - static WinCursorGroup *createCursorGroup(Common::PEResources &exe, const Common::WinResourceID &id); + static WinCursorGroup *createCursorGroup(Common::PEResources *exe, const Common::WinResourceID &id); }; /** -- cgit v1.2.3