pgl: implement bool tracking commands

This commit is contained in:
Michael Scire
2020-04-16 03:02:23 -07:00
parent e53a592f72
commit e4653eeaef
8 changed files with 84 additions and 11 deletions

View File

@@ -71,8 +71,8 @@ namespace ams::pgl {
return ::pglEnableApplicationAllThreadDumpOnCrash(enabled);
}
Result TriggerSnapShotDumper(const char *arg, SnapShotDumpType dump_type) {
return ::pglTriggerSnapShotDumper(arg, static_cast<::PglSnapShotDumpType>(dump_type));
Result TriggerApplicationSnapShotDumper(const char *arg, SnapShotDumpType dump_type) {
return ::pglTriggerApplicationSnapShotDumper(static_cast<::PglSnapShotDumpType>(dump_type), arg);
}
Result GetEventObserver(pgl::EventObserver *out) {