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

Method ProgressBarSetLimit

android/src/rpcsx-android.cpp:1091–1104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1089 });
1090 }
1091 void ProgressBarSetLimit(u32 index, u32 limit) override {
1092 rpcsx_android.warning("ProgressMessageDialog::ProgressBarSetLimit(%d, %d)",
1093 index, limit);
1094
1095 if (index != 0) {
1096 report_fatal_error("Unexpected progress index in progress dialog");
1097 }
1098
1099 max = limit;
1100
1101 invokeSync([this](JNIEnv *env) {
1102 Progress(env, progressId).report(getValue(), max);
1103 });
1104 }
1105};
1106
1107struct UiMessageDialog : MsgDialogBase {

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