diff options
| author | elijah-thomas774 <elijahthomas774@gmail.com> | 2025-11-15 02:00:54 -0500 |
|---|---|---|
| committer | elijah-thomas774 <elijahthomas774@gmail.com> | 2025-11-15 02:00:54 -0500 |
| commit | 02efcf0a65212583c068a270e6ed08ae62524d8d (patch) | |
| tree | 229f8aebca8019d674340f23a6779c9c797b011c /src/egg/core/eggVideo.cpp | |
| parent | cd4f0d74de1e285ed9dbc37bca4cb32bba5b12cb (diff) | |
Some Symbols
Diffstat (limited to 'src/egg/core/eggVideo.cpp')
| -rw-r--r-- | src/egg/core/eggVideo.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/egg/core/eggVideo.cpp b/src/egg/core/eggVideo.cpp index 702343f0..09a74182 100644 --- a/src/egg/core/eggVideo.cpp +++ b/src/egg/core/eggVideo.cpp @@ -296,16 +296,15 @@ const GXRenderModeObj gRMO_Ntsc_640x456IntDf_4x3 = { {0, 0, 21, 22, 21, 0, 0} // vFilter }; -} // namespace - -namespace EGG { - -const EGG::Video::RenderModeObjSet renderModes = { +const EGG::Video::RenderModeObjSet gStandardRenderModeObjSet = { {&gRMO_Pal60_640x456Prog_16x9, &gRMO_Pal60_640x456IntDf_16x9, &gRMO_Pal50_640x456IntDf_16x9, &gRMO_Ntsc_640x456Prog_16x9, &gRMO_Ntsc_640x456IntDf_16x9, &gRMO_Pal60_640x456Prog_4x3, &gRMO_Pal60_640x456IntDf_4x3, &gRMO_Pal50_640x456IntDf_4x3, &gRMO_Ntsc_640x456Prog_4x3, &gRMO_Ntsc_640x456IntDf_4x3} }; +} // namespace + +namespace EGG { void Video::initialize(GXRenderModeObj *obj, const RenderModeObjSet *set) { VIInit(); @@ -315,7 +314,7 @@ void Video::initialize(GXRenderModeObj *obj, const RenderModeObjSet *set) { GXRenderModeObj *Video::configure(GXRenderModeObj *obj, const RenderModeObjSet *set) { GXRenderModeObj *oldMode = pRenderMode; if (set == nullptr) { - set = &renderModes; + set = &gStandardRenderModeObjSet; } if (obj == nullptr) { // Cast away constness. In an incredibly cursed way, adding proper |
