fatal: refactor into sts namespace

This commit is contained in:
Michael Scire authored and SciresM committed 2019-07-23 14:01:16 -07:00
1 parent 442ebff829
commit 39d041466d
38 files changed
+2173 -1923

No files matched your search

+5 -13
View File
@@ -15,18 +15,10 @@
*/
#pragma once
#include <switch.h>
#include <stratosphere.hpp>
#include "fatal_task.hpp"
class AdjustClockTask : public IFatalTask {
private:
Result AdjustClockForModule(PcvModule module, u32 hz);
Result AdjustClock();
public:
AdjustClockTask(FatalThrowContext *ctx, u64 title_id) : IFatalTask(ctx, title_id) { }
virtual Result Run() override;
virtual const char *GetName() const override {
return "AdjustClockTask";
}
};
namespace sts::fatal::srv {
ITask *GetAdjustClockTask(const ThrowContext *ctx);
}