lovebrew / lovepotion

LÖVE for Nintendo Homebrew
https://lovebrew.org
Other
546 stars 42 forks source link

(3DS) Program hangs when suspending software / opening keyboard applet #220

Closed ArsonousKnight52 closed 7 months ago

ArsonousKnight52 commented 11 months ago

Software Version

3.0.0

What Happened?

Upon suspending a love potion program, or opening the keyboard applet with love.keyboard.setTextInput, when the program is resumed the game logic functions, although nothing new is drawn, causing the game to stop visually updating and appear to freeze

What was Expected?

Program resumes as normal after reopened / keyboard is closed

Code to Reproduce

input = "default"

function love.gamepadpressed()
    love.keyboard.setTextInput(true)
end

function love.textinput(text)
    input = text
end

function love.draw(screen)
    if screen == "bottom" then return end
    love.graphics.print(input)
end

Console

Nintendo 3DS

Firmware Version(s)

11.17.0-50E

Custom Firmware Version

13.0.2

Execution Method

Homebrew Menu

Code of Conduct

TurtleP commented 7 months ago

Fixed with 5705bdb