summaryrefslogtreecommitdiff
path: root/src/d/d_save.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2025-06-27 03:14:58 -0700
committerGitHub <noreply@github.com>2025-06-27 13:14:58 +0300
commit79c56b254885b006f0fdec184b0ba06fbd3746a3 (patch)
tree3b10ab9144abba0e644d026bcc12c0cf5d3efcb3 /src/d/d_save.cpp
parent028c07d47d41b10ba8fbef0ef4240751db74776f (diff)
add wii usa rev0 support (#2505)
* wii usa rev0 dol building ok * wii dol cleanup * some wii tests * most rels building
Diffstat (limited to 'src/d/d_save.cpp')
-rw-r--r--src/d/d_save.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_save.cpp b/src/d/d_save.cpp
index a76a698202..6e7ea02027 100644
--- a/src/d/d_save.cpp
+++ b/src/d/d_save.cpp
@@ -1079,7 +1079,7 @@ void dSv_player_config_c::init() {
unk0 = 1;
#endif
-#if VERSION != VERSION_SHIELD_DEBUG
+#if PLATFORM_GCN
if (OSGetSoundMode() == OS_SOUND_MODE_MONO) {
mSoundMode = OS_SOUND_MODE_MONO;
Z2AudioMgr::mAudioMgrPtr->setOutputMode(OS_SOUND_MODE_MONO);
@@ -1110,7 +1110,7 @@ void dSv_player_config_c::init() {
/* 80034644-80034684 02EF84 0040+00 0/0 4/4 0/0 .text checkVibration__19dSv_player_config_cCFv */
u32 dSv_player_config_c::checkVibration() const {
-#if VERSION != VERSION_SHIELD_DEBUG
+#if PLATFORM_GCN
return JUTGamePad::sRumbleSupported & 0x80000000 ? dComIfGp_getNowVibration() : 0;
#else
return dComIfGp_getNowVibration();
@@ -1979,7 +1979,7 @@ int dSv_info_c::card_to_memory(char* i_cardPtr, int i_dataNum) {
memcpy(dComIfGs_getSaveData(), i_cardPtr, sizeof(dSv_save_c));
i_cardPtr += sizeof(dSv_save_c);
-#if VERSION != VERSION_SHIELD_DEBUG
+#if PLATFORM_GCN
if (OSGetSoundMode() == OS_SOUND_MODE_MONO) {
g_dComIfG_gameInfo.info.getPlayer().getConfig().setSound(OS_SOUND_MODE_MONO);
Z2AudioMgr::mAudioMgrPtr->setOutputMode(OS_SOUND_MODE_MONO);