Background pause in C++ - how could I add it to citra?

Hello everyone!
I’d like to know how can I add background pause to citra.
e.g background_pause 1 - citra window is not on then it’s paused… background_pause 0 - citra window is not on but it still works cos this has no background pause. (when I say ‘window on’ is when u click on the citra window then u can move on)

  • Operating System: Windows 10 version 1903 build 18362.30
  • CPU: i7 2nd gen
  • GPU: gtx 1050 ti
  • Citra Version (found in title bar): any
  • Game: any

In order for us to provide better support, we need to see the log generated by Citra. This guide will walk you through how you can obtain the log file: How to Upload the Log File.