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

Method ProgressBarInc

android/src/rpcsx-android.cpp:1062–1075  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1060 }
1061
1062 void ProgressBarInc(u32 progressBarIndex, u32 delta) override {
1063 rpcsx_android.warning("ProgressMessageDialog::ProgressBarInc(%d, %d)",
1064 progressBarIndex, delta);
1065
1066 if (progressBarIndex != 0) {
1067 report_fatal_error("Unexpected progress index in progress dialog");
1068 }
1069
1070 value += delta;
1071
1072 invokeSync([this](JNIEnv *env) {
1073 Progress(env, progressId).report(getValue(), max);
1074 });
1075 }
1076
1077 void ProgressBarSetValue(u32 progressBarIndex, u32 value) override {
1078 rpcsx_android.warning("ProgressMessageDialog::ProgressBarSetValue(%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