Skip to content

Commit b451fe6

Browse files
committed
add more bg
1 parent 981f791 commit b451fe6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ uint8_t tr=150;
2222
uint8_t bg=0,cc_t=0;
2323
uint8_t zoom=3;
2424

25-
const uint16_t *images[]={space,girl,flowerD,w1,b1,w2,b2,w3,b3,w4,b4,w5,b5,w6,b6,w7,b7,montain,windows_xp};
25+
const uint16_t *images[]={space,girl,flowerD,w1,b1,w2,b2,w3,b3,w4,b4,w5,b5,w6,b6,w7,b7,montain,windows_xp,w8};
2626

2727
int simlcd_touch_event(uint32_t x,uint32_t y,uint16_t event)
2828
{
@@ -113,7 +113,7 @@ int loop(int key)
113113
{
114114
case SDL_SCANCODE_SPACE :
115115
bg++;
116-
if(bg>20)bg=0;
116+
if(bg>21)bg=0;
117117
j=-1;
118118
once_1=true;
119119
break;

0 commit comments

Comments
 (0)