diff --git a/src/gbi/rt64_gbi_f3dex2.h b/src/gbi/rt64_gbi_f3dex2.h index 21bec49..b378754 100644 --- a/src/gbi/rt64_gbi_f3dex2.h +++ b/src/gbi/rt64_gbi_f3dex2.h @@ -65,6 +65,7 @@ namespace RT64 { namespace GBI_F3DEX2 { + void setOtherMode(State *state, DisplayList **dl); void setOtherModeH(State *state, DisplayList **dl); void setOtherModeL(State *state, DisplayList **dl); void moveMem(State *state, DisplayList **dl); diff --git a/src/gbi/rt64_gbi_s2dex2.cpp b/src/gbi/rt64_gbi_s2dex2.cpp index a6a1c9a..23c5fc1 100644 --- a/src/gbi/rt64_gbi_s2dex2.cpp +++ b/src/gbi/rt64_gbi_s2dex2.cpp @@ -80,6 +80,7 @@ namespace RT64 { gbi->map[F3DEX2_G_RDPHALF_1] = &GBI_F3D::rdpHalf1; gbi->map[F3DEX2_G_RDPHALF_2] = &GBI_F3D::rdpHalf2; gbi->map[F3DEX2_G_LOAD_UCODE] = &GBI_F3DEX::loadUCode; + gbi->map[G_RDPSETOTHERMODE] = &GBI_F3DEX2::setOtherMode; gbi->map[G_SETCIMG] = &GBI_F3D::setColorImage; gbi->map[G_SETZIMG] = &GBI_F3D::setDepthImage; gbi->map[G_SETTIMG] = &GBI_F3D::setTextureImage;