diff options
author | aap <aap@papnet.eu> | 2020-04-25 11:25:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 11:25:19 +0200 |
commit | ad9ebbd390e06de485d6d212f498326cc7d73d83 (patch) | |
tree | 7bc1ccc789ebbc5a22e57ec5ee65ac1ea8d3afb7 /src/fakerw | |
parent | disable mouse steering by default (diff) | |
parent | implemented debugmenu (diff) | |
download | re3-ad9ebbd390e06de485d6d212f498326cc7d73d83.tar re3-ad9ebbd390e06de485d6d212f498326cc7d73d83.tar.gz re3-ad9ebbd390e06de485d6d212f498326cc7d73d83.tar.bz2 re3-ad9ebbd390e06de485d6d212f498326cc7d73d83.tar.lz re3-ad9ebbd390e06de485d6d212f498326cc7d73d83.tar.xz re3-ad9ebbd390e06de485d6d212f498326cc7d73d83.tar.zst re3-ad9ebbd390e06de485d6d212f498326cc7d73d83.zip |
Diffstat (limited to 'src/fakerw')
-rw-r--r-- | src/fakerw/fake.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fakerw/fake.cpp b/src/fakerw/fake.cpp index 59c01c91..b86e9214 100644 --- a/src/fakerw/fake.cpp +++ b/src/fakerw/fake.cpp @@ -176,8 +176,8 @@ const RwChar *RwImageSetPath(const RwChar * path) { Image::setSearchPath(path); RwImage *RwImageSetStride(RwImage * image, RwInt32 stride) { image->stride = stride; return image; } RwImage *RwImageSetPixels(RwImage * image, RwUInt8 * pixels) { image->pixels = pixels; return image; } RwImage *RwImageSetPalette(RwImage * image, RwRGBA * palette) { image->palette = (uint8*)palette; return image; } -RwInt32 RwImageGetWidth(const RwImage * image); -RwInt32 RwImageGetHeight(const RwImage * image); +RwInt32 RwImageGetWidth(const RwImage * image) { return image->width; } +RwInt32 RwImageGetHeight(const RwImage * image) { return image->height; } RwInt32 RwImageGetDepth(const RwImage * image); RwInt32 RwImageGetStride(const RwImage * image); RwUInt8 *RwImageGetPixels(const RwImage * image); |