mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-25 15:05:06 -04:00
Disable vrbox/vrbox2 rendering
Code's broken in the original game but happens to work due to luck, causes hard crash on Dusk.
This commit is contained in:
@@ -12,6 +12,12 @@
|
||||
static int daVrbox_color_set(vrbox_class* i_this);
|
||||
|
||||
static int daVrbox_Draw(vrbox_class* i_this) {
|
||||
#if TARGET_PC
|
||||
// This code is broken but happens to work on hardware. Does not work on PC.
|
||||
// Not decomp's fault!
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
J3DModel* soraModel_p = i_this->mpSoraModel;
|
||||
f32 fvar = 0.0f;
|
||||
dStage_FileList_dt_c* filelist_p = NULL;
|
||||
|
||||
@@ -25,6 +25,12 @@ static void texScrollCheck(f32& param_0) {
|
||||
}
|
||||
|
||||
static int daVrbox2_Draw(vrbox2_class* i_this) {
|
||||
#if TARGET_PC
|
||||
// This code is broken but happens to work on hardware. Does not work on PC.
|
||||
// Not decomp's fault!
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
camera_class* camera_p;
|
||||
dKankyo_sunlenz_Packet* lenz_p;
|
||||
J3DModel* kumo_model_p;
|
||||
|
||||
Reference in New Issue
Block a user