diff options
author | Marcus Comstedt | 2009-03-21 15:47:45 +0000 |
---|---|---|
committer | Marcus Comstedt | 2009-03-21 15:47:45 +0000 |
commit | e3ca4afb595e63e1acfabd2c6e5de75ec6461e07 (patch) | |
tree | ebaa9de3801929ae6c1de507dd144582a36067ed /backends/platform/dc/selector.cpp | |
parent | 29ebafb5d55961fde145691397fac3a21b9ccbd1 (diff) | |
download | scummvm-rg350-e3ca4afb595e63e1acfabd2c6e5de75ec6461e07.tar.gz scummvm-rg350-e3ca4afb595e63e1acfabd2c6e5de75ec6461e07.tar.bz2 scummvm-rg350-e3ca4afb595e63e1acfabd2c6e5de75ec6461e07.zip |
Fixed some warnings.
svn-id: r39590
Diffstat (limited to 'backends/platform/dc/selector.cpp')
-rw-r--r-- | backends/platform/dc/selector.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/backends/platform/dc/selector.cpp b/backends/platform/dc/selector.cpp index f9646ff22f..9465769ea3 100644 --- a/backends/platform/dc/selector.cpp +++ b/backends/platform/dc/selector.cpp @@ -316,6 +316,7 @@ int gameMenu(Game *games, int num_games) { int top_game = 0, selector_pos = 0; int mousex = 0, mousey = 0; + float y; if (!num_games) return -1; @@ -331,7 +332,7 @@ int gameMenu(Game *games, int num_games) ta_commit_end(); - float y = 40.0; + y = 40.0; for (int i=top_game, cnt=0; cnt<10 && i<num_games; i++, cnt++) { int pal = 48+(i&15); @@ -360,15 +361,13 @@ int gameMenu(Game *games, int num_games) for (int fade=0; fade<=256; fade+=4) { - unsigned int fade_colour = 0x00ffffff | ((255-fade)<<24); - ta_begin_frame(); drawBackground(); ta_commit_end(); - float y = 40.0; + y = 40.0; if (fade < 256) for (int i=top_game, cnt=0; cnt<10 && i<num_games; |