[CHANGED] 'setmode' renamed to 'mode'
This commit is contained in:
@@ -189,7 +189,7 @@ int main(int argc,char*argv[]) {
|
||||
while(!exit) {
|
||||
if (should_reset) {
|
||||
should_reset = false;
|
||||
setmode(1);
|
||||
mode(1);
|
||||
reinit();
|
||||
lua_init(lua_filename);
|
||||
lua_call_init();
|
||||
@@ -629,8 +629,8 @@ void play(const char* str) {
|
||||
audio_state = AUDIO_PLAY;
|
||||
}
|
||||
|
||||
void setmode(const uint8_t mode) {
|
||||
current_mode = mode;
|
||||
void mode(const uint8_t val) {
|
||||
current_mode = val;
|
||||
reinit();
|
||||
cls();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user