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

Method ProgressBarSetValue

android/src/rpcsx-android.cpp:1077–1090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1075 }
1076
1077 void ProgressBarSetValue(u32 progressBarIndex, u32 value) override {
1078 rpcsx_android.warning("ProgressMessageDialog::ProgressBarSetValue(%d, %d)",
1079 progressBarIndex, value);
1080
1081 if (progressBarIndex != 0) {
1082 report_fatal_error("Unexpected progress index in progress dialog");
1083 }
1084
1085 this->value = value;
1086
1087 invokeSync([this](JNIEnv *env) {
1088 Progress(env, progressId).report(getValue(), max);
1089 });
1090 }
1091 void ProgressBarSetLimit(u32 index, u32 limit) override {
1092 rpcsx_android.warning("ProgressMessageDialog::ProgressBarSetLimit(%d, %d)",
1093 index, limit);

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