diff options
| author | hrydgard <hrydgard@gmail.com> | 2009-03-05 22:35:06 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2009-03-05 22:35:06 +0000 |
| commit | 02a4b49df196471bd56cd73b46891074cbdfdc34 (patch) | |
| tree | 737f0be4114aa2c6f2ecf7ade9fe28b10b950586 /Source/Core/VideoCommon | |
| parent | 3f840806b3c3504d826d29ce7c7c1d336c02adc7 (diff) | |
just some compiler warning cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2562 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VideoCommon.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/VideoCommon.h b/Source/Core/VideoCommon/Src/VideoCommon.h index 8082da16b5..16344e4a9a 100644 --- a/Source/Core/VideoCommon/Src/VideoCommon.h +++ b/Source/Core/VideoCommon/Src/VideoCommon.h @@ -97,7 +97,13 @@ inline float Memory_Read_Float(u32 _uAddress) struct TRectangle { - int left, top, right, bottom; + int left; + int top; + int right; + int bottom; + + int GetWidth() const { return right - left; } + int GetHeight() const { return bottom - top; } }; // Logging |
