diff options
author | Marcus Comstedt | 2009-10-10 14:55:56 +0000 |
---|---|---|
committer | Marcus Comstedt | 2009-10-10 14:55:56 +0000 |
commit | 8fd29ecf9f5b7f66824b7df45e3f04dfc2b5cfeb (patch) | |
tree | c9152a73e459997990de8497a0455b8ce04bc878 /backends/platform/dc/display.cpp | |
parent | fb4538dd2db6f8910e5303675e8339be269fd613 (diff) | |
download | scummvm-rg350-8fd29ecf9f5b7f66824b7df45e3f04dfc2b5cfeb.tar.gz scummvm-rg350-8fd29ecf9f5b7f66824b7df45e3f04dfc2b5cfeb.tar.bz2 scummvm-rg350-8fd29ecf9f5b7f66824b7df45e3f04dfc2b5cfeb.zip |
Fixed some warnings.
svn-id: r44877
Diffstat (limited to 'backends/platform/dc/display.cpp')
-rw-r--r-- | backends/platform/dc/display.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/dc/display.cpp b/backends/platform/dc/display.cpp index 75bf31f4f6..e89393b72c 100644 --- a/backends/platform/dc/display.cpp +++ b/backends/platform/dc/display.cpp @@ -202,7 +202,7 @@ Graphics::PixelFormat OSystem_Dreamcast::getScreenFormat() const Common::List<Graphics::PixelFormat> OSystem_Dreamcast::getSupportedFormats() { Common::List<Graphics::PixelFormat> list; - int i; + unsigned i; for (i=0; i<NUM_FORMATS; i++) list.push_front(screenFormats[i]); return list; @@ -248,13 +248,13 @@ void OSystem_Dreamcast::initSize(uint w, uint h, const Graphics::PixelFormat *fo screen = new unsigned char[SCREEN_W*SCREEN_H*2]; if (!overlay) overlay = new unsigned short[OVL_W*OVL_H]; - for (int i=0; i<NUM_BUFFERS; i++) + for (i=0; i<NUM_BUFFERS; i++) if (!screen_tx[i]) screen_tx[i] = ta_txalloc(SCREEN_W*SCREEN_H*2); - for (int i=0; i<NUM_BUFFERS; i++) + for (i=0; i<NUM_BUFFERS; i++) if (!mouse_tx[i]) mouse_tx[i] = ta_txalloc(MOUSE_W*MOUSE_H*2); - for (int i=0; i<NUM_BUFFERS; i++) + for (i=0; i<NUM_BUFFERS; i++) if (!ovl_tx[i]) ovl_tx[i] = ta_txalloc(OVL_TXSTRIDE*OVL_H*2); _screen_buffer = 0; |