mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-30 06:50:06 +00:00
Log script finishing. Fixed logging crashing too, woops
This commit is contained in:
parent
63ca1acd2b
commit
8ea7673a44
@ -73,6 +73,7 @@ namespace Log {
|
|||||||
SUB(Audio, Sink) \
|
SUB(Audio, Sink) \
|
||||||
CLS(Input) \
|
CLS(Input) \
|
||||||
CLS(Network) \
|
CLS(Network) \
|
||||||
|
CLS(ScriptedInput) \
|
||||||
CLS(Loader) \
|
CLS(Loader) \
|
||||||
CLS(WebService)
|
CLS(WebService)
|
||||||
|
|
||||||
|
@ -104,6 +104,10 @@ void ScriptRunner::NotifyFrameFinished() {
|
|||||||
scripted_buttons.get()->SetActiveButtons(script[script_index].buttons_active);
|
scripted_buttons.get()->SetActiveButtons(script[script_index].buttons_active);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (script_index >= script.size()) {
|
||||||
|
LOG_INFO(ScriptedInput, "Scripted Input finished at frame %i", frame_number);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScriptRunner::SaveScreenshot() {
|
void ScriptRunner::SaveScreenshot() {
|
||||||
|
Loading…
Reference in New Issue
Block a user