Continue menu
This commit is contained in:
parent
44f748134f
commit
6bf3a950dc
4 changed files with 18 additions and 5 deletions
7
game.h
7
game.h
|
@ -677,8 +677,11 @@ void LCR_gameHandleInput(void)
|
|||
break;
|
||||
}
|
||||
|
||||
if (tabSwitchedTo)
|
||||
LCR_gameLoadResourceFileChunk(0,tabSwitchedTo == 1 ? 'M' : 'R');
|
||||
if (tabSwitchedTo || scrolled != 0)
|
||||
LCR_gameLoadResourceFileChunk(
|
||||
tabSwitchedTo ? 0 : (LCR_game.resourceFile.firstItemIndex +
|
||||
scrolled * LCR_RESOURCE_ITEM_CHUNK),
|
||||
LCR_game.menuSelectedTab == 1 ? 'M' : 'R');
|
||||
}
|
||||
|
||||
uint8_t LCR_gameStep(uint32_t time)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue