MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / ProgressBarReset

Method ProgressBarReset

android/src/rpcsx-android.cpp:1049–1060  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1047 }
1048
1049 void ProgressBarReset(u32 progressBarIndex) override {
1050 rpcsx_android.warning("ProgressMessageDialog::ProgressBarReset(%d)",
1051 progressBarIndex);
1052
1053 if (progressBarIndex != 0) {
1054 report_fatal_error("Unexpected progress index in progress dialog");
1055 }
1056
1057 value = 0;
1058 invokeSync(
1059 [this](JNIEnv *env) { Progress(env, progressId).report(value, max); });
1060 }
1061
1062 void ProgressBarInc(u32 progressBarIndex, u32 delta) override {
1063 rpcsx_android.warning("ProgressMessageDialog::ProgressBarInc(%d, %d)",

Callers

nothing calls this directly

Calls 4

report_fatal_errorFunction · 0.85
invokeSyncFunction · 0.85
ProgressClass · 0.85
reportMethod · 0.45

Tested by

no test coverage detected