mirror of
https://github.com/zeldaret/ss
synced 2026-06-18 07:25:18 -04:00
Run clang-format on edited files
This commit is contained in:
+3
-8
@@ -9,13 +9,8 @@
|
||||
#define ROUND_UP_4KB(x) (((u32)(x) + 4096 - 1) & ~(4096 - 1))
|
||||
|
||||
typedef EGG::TSystem<
|
||||
EGG::Video,
|
||||
EGG::AsyncDisplay,
|
||||
EGG::XfbManager,
|
||||
EGG::SimpleAudioMgr,
|
||||
EGG::SceneManager,
|
||||
EGG::PerformanceView
|
||||
> System;
|
||||
EGG::Video, EGG::AsyncDisplay, EGG::XfbManager, EGG::SimpleAudioMgr, EGG::SceneManager, EGG::PerformanceView>
|
||||
System;
|
||||
|
||||
class dSndMgr_c;
|
||||
|
||||
@@ -54,6 +49,6 @@ extern void *s_NewMEM1ArenaHi;
|
||||
|
||||
void fixHeaps();
|
||||
|
||||
};
|
||||
}; // namespace dSystem
|
||||
|
||||
#endif
|
||||
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
class BaseSystem {
|
||||
public:
|
||||
static ConfigurationData *mConfigData;
|
||||
|
||||
|
||||
static XfbManager *getXfbMgr() {
|
||||
return mConfigData->getXfbMgr();
|
||||
}
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
|
||||
void initRenderMode() override {}
|
||||
void initialize() override {}
|
||||
|
||||
|
||||
Video *getVideo() override {
|
||||
return static_cast<Video *>(mVideo);
|
||||
}
|
||||
@@ -99,8 +99,9 @@ public:
|
||||
}
|
||||
|
||||
PerformanceView *getPerfView() override {
|
||||
if (!mPerfView)
|
||||
if (!mPerfView) {
|
||||
return mPerfView;
|
||||
}
|
||||
// TODO remove cast hack if/when more is known about PerformanceView
|
||||
return static_cast<PerformanceView *>((void *)&mPerfView->_4c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user