mgba icon indicating copy to clipboard operation
mgba copied to clipboard

Bad lagging when loading scripts with a little Scripting window

Open Real96 opened this issue 1 year ago • 2 comments

It seems like the emulator badly lags and gets the inputs lately when a lua script is loaded and the Scripting window cut the text printing as shown in the following image: image

The emulation is flawless if the window doesn't cut the text, as shown in the following image: image

Real96 avatar Nov 18 '23 00:11 Real96

Is this on 0.10.2 or a dev build?

endrift avatar Dec 20 '23 10:12 endrift

Is this on 0.10.2 or a dev build?

The lag happens on both release 0.10.2 and dev build (i just tested latest commit #d83b2f9)

This is the script: FRLG_RNG_mGBA.txt

It supports all pokemon firered languages.

I also noticed that if you enter in a wild battle, with "Capture" buffer selected, if you press the fast farward button, the printing start lagging badly.

In my opinion a good behaviour should be that the fast farward should go a bit slower than its normal speed, so the printing happens correctly and there are no lags

Real96 avatar Dec 22 '23 11:12 Real96