diff options
author | Cameron Cawley | 2019-12-31 19:19:42 +0000 |
---|---|---|
committer | Filippos Karapetis | 2020-01-11 17:34:12 +0200 |
commit | 948c555ea616821ed7c2678ad406ed5bea392339 (patch) | |
tree | 000a4566cd70bdddff6d8f4d64edfc3db9119ac5 /graphics/wincursor.h | |
parent | 395f707203e8f30add0b2f8e9d8616dd12468676 (diff) | |
download | scummvm-rg350-948c555ea616821ed7c2678ad406ed5bea392339.tar.gz scummvm-rg350-948c555ea616821ed7c2678ad406ed5bea392339.tar.bz2 scummvm-rg350-948c555ea616821ed7c2678ad406ed5bea392339.zip |
ALL: Create all instances of NEResources and PEResources using new instead of on the stack
Also adapted WinCursorGroup and MacMenu to reflect this.
Diffstat (limited to 'graphics/wincursor.h')
-rw-r--r-- | graphics/wincursor.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<CursorItem> 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); }; /** |