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

Method ProgressBarSetMsg

android/src/rpcsx-android.cpp:1036–1047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1034 }
1035
1036 void ProgressBarSetMsg(u32 progressBarIndex,
1037 const std::string &msg) override {
1038 rpcsx_android.warning("ProgressMessageDialog::ProgressBarSetMsg(%d, %s)",
1039 progressBarIndex, msg);
1040 if (progressBarIndex != 0) {
1041 report_fatal_error("Unexpected progress index in progress dialog");
1042 }
1043
1044 invokeSync([this, msg](JNIEnv *env) {
1045 Progress(env, progressId).report(getValue(), max, msg);
1046 });
1047 }
1048
1049 void ProgressBarReset(u32 progressBarIndex) override {
1050 rpcsx_android.warning("ProgressMessageDialog::ProgressBarReset(%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