aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NDS.cpp')
-rw-r--r--src/NDS.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp
index 05a7721..8f459a0 100644
--- a/src/NDS.cpp
+++ b/src/NDS.cpp
@@ -1365,8 +1365,8 @@ void CamInputFrame(int cam, u32* data, int width, int height, bool rgb)
{
switch (cam)
{
- case 0: return DSi_CamModule::Camera0->InputFrame(data, width, height, rgb);
- case 1: return DSi_CamModule::Camera1->InputFrame(data, width, height, rgb);
+ case 0: return DSi::CamModule->GetOuterCamera()->InputFrame(data, width, height, rgb);
+ case 1: return DSi::CamModule->GetInnerCamera()->InputFrame(data, width, height, rgb);
}
}
}