Skip to content

Commit

Permalink
- Add option to disable hypervisor.
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed Jan 14, 2025
1 parent e2b6e46 commit d5e3ddd
Show file tree
Hide file tree
Showing 13 changed files with 244 additions and 170 deletions.
1 change: 1 addition & 0 deletions cube/swiss/include/swiss.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ typedef struct {
int emulateEthernet;
int emulateMemoryCard;
int disableMemoryCard;
int disableHypervisor;
int preferCleanBoot;
s8 sramHOffset;
u8 sramLanguage;
Expand Down
11 changes: 11 additions & 0 deletions cube/swiss/source/config/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ int config_update_global(bool checkConfigDevice) {
fprintf(fp, "Emulate Broadband Adapter=%s\r\n", swissSettings.emulateEthernet ? "Yes":"No");
fprintf(fp, "Emulate Memory Card=%s\r\n", swissSettings.emulateMemoryCard ? "Yes":"No");
fprintf(fp, "Disable Memory Card=%s\r\n", disableMemoryCardStr[swissSettings.disableMemoryCard]);
fprintf(fp, "Disable Hypervisor=%s\r\n", swissSettings.disableHypervisor ? "Yes":"No");
fprintf(fp, "Prefer Clean Boot=%s\r\n", swissSettings.preferCleanBoot ? "Yes":"No");
fprintf(fp, "RetroTINK-4K Profile=%i\r\n", swissSettings.rt4kProfile);
fprintf(fp, "#!!Swiss Settings End!!\r\n\r\n");
Expand Down Expand Up @@ -287,6 +288,7 @@ int config_update_game(ConfigEntry* entry, bool checkConfigDevice) {
if(entry->emulateReadSpeed != swissSettings.emulateReadSpeed) fprintf(fp, "Emulate Read Speed=%s\r\n", emulateReadSpeedStr[entry->emulateReadSpeed]);
if(entry->emulateEthernet != swissSettings.emulateEthernet) fprintf(fp, "Emulate Broadband Adapter=%s\r\n", entry->emulateEthernet ? "Yes":"No");
if(entry->disableMemoryCard != swissSettings.disableMemoryCard) fprintf(fp, "Disable Memory Card=%s\r\n", disableMemoryCardStr[entry->disableMemoryCard]);
if(entry->disableHypervisor != swissSettings.disableHypervisor) fprintf(fp, "Disable Hypervisor=%s\r\n", entry->disableHypervisor ? "Yes":"No");
if(entry->preferCleanBoot != swissSettings.preferCleanBoot) fprintf(fp, "Prefer Clean Boot=%s\r\n", entry->preferCleanBoot ? "Yes":"No");
if(entry->rt4kProfile != swissSettings.rt4kProfile) fprintf(fp, "RetroTINK-4K Profile=%i\r\n", entry->rt4kProfile);
fclose(fp);
Expand Down Expand Up @@ -329,6 +331,7 @@ void config_defaults(ConfigEntry *entry) {
entry->emulateReadSpeed = swissSettings.emulateReadSpeed;
entry->emulateEthernet = swissSettings.emulateEthernet;
entry->disableMemoryCard = swissSettings.disableMemoryCard;
entry->disableHypervisor = swissSettings.disableHypervisor;
entry->preferCleanBoot = swissSettings.preferCleanBoot;
entry->rt4kProfile = swissSettings.rt4kProfile;

Expand Down Expand Up @@ -754,6 +757,9 @@ void config_parse_global(char *configData) {
}
}
}
else if(!strcmp("Disable Hypervisor", name)) {
swissSettings.disableHypervisor = !strcmp("Yes", value);
}
else if(!strcmp("Prefer Clean Boot", name)) {
swissSettings.preferCleanBoot = !strcmp("Yes", value);
}
Expand Down Expand Up @@ -1121,6 +1127,9 @@ void config_parse_game(char *configData, ConfigEntry *entry) {
}
}
}
else if(!strcmp("Disable Hypervisor", name)) {
entry->disableHypervisor = !strcmp("Yes", value);
}
else if(!strcmp("Prefer Clean Boot", name)) {
entry->preferCleanBoot = !strcmp("Yes", value);
}
Expand Down Expand Up @@ -1225,6 +1234,7 @@ void config_load_current(ConfigEntry *entry) {
swissSettings.emulateReadSpeed = entry->emulateReadSpeed;
swissSettings.emulateEthernet = entry->emulateEthernet;
swissSettings.disableMemoryCard = entry->disableMemoryCard;
swissSettings.disableHypervisor = entry->disableHypervisor;
swissSettings.preferCleanBoot = entry->preferCleanBoot;
swissSettings.rt4kProfile = entry->rt4kProfile;

Expand Down Expand Up @@ -1286,6 +1296,7 @@ void config_unload_current() {
swissSettings.emulateReadSpeed = backup.emulateReadSpeed;
swissSettings.emulateEthernet = backup.emulateEthernet;
swissSettings.disableMemoryCard = backup.disableMemoryCard;
swissSettings.disableHypervisor = backup.disableHypervisor;
swissSettings.preferCleanBoot = backup.preferCleanBoot;
swissSettings.sramLanguage = backup.sramLanguage;
swissSettings.sramVideo = backup.sramVideo;
Expand Down
1 change: 1 addition & 0 deletions cube/swiss/source/config/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ typedef struct {
int emulateReadSpeed;
int emulateEthernet;
int disableMemoryCard;
int disableHypervisor;
int forceCleanBoot;
int preferCleanBoot;
int rt4kProfile;
Expand Down
8 changes: 6 additions & 2 deletions cube/swiss/source/devices/dvd/deviceHandler-DVD.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,12 @@ u32 deviceHandler_DVD_emulated() {
return EMU_READ | EMU_MEMCARD | EMU_BUS_ARBITER;
else
return EMU_READ | EMU_BUS_ARBITER;
} else
return EMU_READ;
} else {
if (swissSettings.disableHypervisor)
return EMU_NONE;
else
return EMU_READ;
}
}

char* deviceHandler_DVD_status(file_handle* file) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,9 @@ bool deviceHandler_FlippyFlash_test() {
}

u32 deviceHandler_Flippy_emulated() {
if (swissSettings.emulateReadSpeed)
if (swissSettings.disableHypervisor)
return EMU_NONE;
else if (swissSettings.emulateReadSpeed)
return EMU_READ | EMU_READ_SPEED;
else if (swissSettings.emulateEthernet && (devices[DEVICE_CUR]->emulable & EMU_ETHERNET))
return EMU_READ | EMU_ETHERNET | EMU_BUS_ARBITER | EMU_NO_PAUSING;
Expand Down
4 changes: 3 additions & 1 deletion cube/swiss/source/devices/gcloader/deviceHandler-gcloader.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,9 @@ u32 deviceHandler_GCLoader_emulated() {
return EMU_READ;
}
} else {
if (swissSettings.emulateReadSpeed)
if (swissSettings.disableHypervisor)
return EMU_NONE;
else if (swissSettings.emulateReadSpeed)
return EMU_READ | EMU_READ_SPEED;
else
return EMU_READ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,10 @@ u32 deviceHandler_WKF_emulated() {
else
return EMU_READ | EMU_BUS_ARBITER;
} else {
if ((swissSettings.emulateAudioStream == 1 && swissSettings.audioStreaming) ||
swissSettings.emulateAudioStream > 1)
if (swissSettings.disableHypervisor)
return EMU_NONE;
else if ((swissSettings.emulateAudioStream == 1 && swissSettings.audioStreaming) ||
swissSettings.emulateAudioStream > 1)
return EMU_READ | EMU_AUDIO_STREAMING;
else
return EMU_READ;
Expand Down
8 changes: 6 additions & 2 deletions cube/swiss/source/devices/wode/deviceHandler-WODE.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,12 @@ u32 deviceHandler_WODE_emulated() {
return EMU_READ | EMU_MEMCARD | EMU_BUS_ARBITER;
else
return EMU_READ | EMU_BUS_ARBITER;
} else
return EMU_READ;
} else {
if (swissSettings.disableHypervisor)
return EMU_NONE;
else
return EMU_READ;
}
}

char* deviceHandler_WODE_status(file_handle* file) {
Expand Down
45 changes: 34 additions & 11 deletions cube/swiss/source/gui/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ static char *tooltips_game[PAGE_GAME_MAX+1] = {
"Emulate Read Speed:\n\nNo - Start transfer immediately (default)\nYes - Delay transfer to simulate the GameCube disc drive\nWii - Delay transfer to simulate the Wii disc drive\n\nThis is necessary to avoid programming mistakes obfuscated\nby the original medium, or for speedrunning.",
"Emulate Broadband Adapter:\n\nOnly available with the File Service Protocol or an initialised\nETH2GC/GCNET module, where memory constraints permit.\n\nPackets not destined for the hypervisor are forwarded to\nthe virtual MAC. The virtual MAC address is the same as\nthe physical MAC. The physical MAC/PHY retain their\nconfiguration from Swiss, including link speed.",
"Disable Memory Card:\n\nSome games misbehave when unexpected devices are present\nin the memory card slots. When selected, the device will be\nhidden from the game if present at boot time.",
"Disable Hypervisor:\n\nDisables all features and bugfixes relying upon the hypervisor,\nalong with prepatching and patch persistence.\n\nOnly available to devices attached to the DVD Interface.",
"Prefer Clean Boot:\n\nWhen enabled, the GameCube will be reset and the game\nbooted through normal processes with no changes applied.\nRegion restrictions may be applicable.\n\nOnly available to devices attached to the DVD Interface.",
"RetroTINK-4K Profile:\n\nPresses a profile button through a configured ser2net TCP\nconnection to the RetroTINK-4K's serial port."
};
Expand Down Expand Up @@ -282,15 +283,16 @@ uiDrawObj_t* settings_draw_page(int page_num, int option, ConfigEntry *gameConfi
DrawAddChild(page, DrawLabel(page_x_ofs_key, 65, "Global Game Settings (3/5):"));
bool enabledVideoPatches = swissSettings.disableVideoPatches < 2;
bool emulatedMemoryCard = devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->emulable & EMU_MEMCARD);
bool enabledHypervisor = devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->features & FEAT_HYPERVISOR);
bool dbgEnable = devices[DEVICE_CUR] != &__device_usbgecko && deviceHandler_getDeviceAvailable(&__device_usbgecko);
drawSettingEntryString(page, &page_y_ofs, "In-Game Reset:", igrTypeStr[swissSettings.igrType], option == SET_IGR, true);
drawSettingEntryString(page, &page_y_ofs, "In-Game Reset:", igrTypeStr[swissSettings.igrType], option == SET_IGR, enabledHypervisor);
drawSettingEntryString(page, &page_y_ofs, "Boot through IPL:", bs2BootStr[swissSettings.bs2Boot], option == SET_BS2BOOT, true);
drawSettingEntryBoolean(page, &page_y_ofs, "Boot without prompts:", swissSettings.autoBoot, option == SET_AUTOBOOT, true);
drawSettingEntryBoolean(page, &page_y_ofs, "Emulate Memory Card:", swissSettings.emulateMemoryCard, option == SET_EMULATE_MEMCARD, emulatedMemoryCard);
drawSettingEntryString(page, &page_y_ofs, "Disable MemCard PRO GameID:", disableMCPGameIDStr[swissSettings.disableMCPGameID], option == SET_DISABLE_MCPGAMEID, true);
drawSettingEntryBoolean(page, &page_y_ofs, "Force Video Active:", swissSettings.forceVideoActive, option == SET_FORCE_VIDACTIVE, enabledVideoPatches);
drawSettingEntryString(page, &page_y_ofs, "Disable Video Patches:", disableVideoPatchesStr[swissSettings.disableVideoPatches], option == SET_DISABLE_VIDPATCH, true);
drawSettingEntryBoolean(page, &page_y_ofs, "Pause for resolution change:", swissSettings.pauseAVOutput, option == SET_PAUSE_AVOUTPUT, true);
drawSettingEntryBoolean(page, &page_y_ofs, "Pause for resolution change:", swissSettings.pauseAVOutput, option == SET_PAUSE_AVOUTPUT, enabledHypervisor);
drawSettingEntryBoolean(page, &page_y_ofs, "Auto-load cheats:", swissSettings.autoCheats, option == SET_ALL_CHEATS, true);
drawSettingEntryBoolean(page, &page_y_ofs, "WiiRD debugging:", swissSettings.wiirdDebug, option == SET_WIIRDDBG, dbgEnable);
drawSettingEntryString(page, &page_y_ofs, "Reset to defaults", NULL, option == SET_GLOBAL_DEFAULTS, true);
Expand All @@ -305,6 +307,7 @@ uiDrawObj_t* settings_draw_page(int page_num, int option, ConfigEntry *gameConfi
bool emulatedAudioStream = devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->emulable & EMU_AUDIO_STREAMING);
bool emulatedReadSpeed = devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->emulable & EMU_READ_SPEED);
bool emulatedEthernet = devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->emulable & EMU_ETHERNET);
bool enabledHypervisor = devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->features & FEAT_HYPERVISOR);
bool enabledCleanBoot = devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->location & LOC_DVD_CONNECTOR);
bool rt4kEnable = is_rt4k_alive();
if(option < SET_DEFAULT_TRIGGER_LEVEL) {
Expand All @@ -326,7 +329,8 @@ uiDrawObj_t* settings_draw_page(int page_num, int option, ConfigEntry *gameConfi
drawSettingEntryString(page, &page_y_ofs, "Emulate Audio Streaming:", emulateAudioStreamStr[swissSettings.emulateAudioStream], option == SET_DEFAULT_AUDIO_STREAM, emulatedAudioStream);
drawSettingEntryString(page, &page_y_ofs, "Emulate Read Speed:", emulateReadSpeedStr[swissSettings.emulateReadSpeed], option == SET_DEFAULT_READ_SPEED, emulatedReadSpeed);
drawSettingEntryBoolean(page, &page_y_ofs, "Emulate Broadband Adapter:", swissSettings.emulateEthernet, option == SET_DEFAULT_EMULATE_ETHERNET, emulatedEthernet);
drawSettingEntryString(page, &page_y_ofs, "Disable Memory Card:", disableMemoryCardStr[swissSettings.disableMemoryCard], option == SET_DEFAULT_DISABLE_MEMCARD, true);
drawSettingEntryString(page, &page_y_ofs, "Disable Memory Card:", disableMemoryCardStr[swissSettings.disableMemoryCard], option == SET_DEFAULT_DISABLE_MEMCARD, enabledHypervisor);
drawSettingEntryBoolean(page, &page_y_ofs, "Disable Hypervisor:", swissSettings.disableHypervisor, option == SET_DEFAULT_DISABLE_HYPERVISOR, enabledCleanBoot);
drawSettingEntryBoolean(page, &page_y_ofs, "Prefer Clean Boot:", swissSettings.preferCleanBoot, option == SET_DEFAULT_CLEAN_BOOT, enabledCleanBoot);
drawSettingEntryNumeric(page, &page_y_ofs, "RetroTINK-4K Profile:", swissSettings.rt4kProfile, option == SET_DEFAULT_RT4K_PROFILE, rt4kEnable);
drawSettingEntryString(page, &page_y_ofs, "Reset to defaults", NULL, option == SET_DEFAULT_DEFAULTS, true);
Expand All @@ -344,6 +348,7 @@ uiDrawObj_t* settings_draw_page(int page_num, int option, ConfigEntry *gameConfi
bool emulatedAudioStream = devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->emulable & EMU_AUDIO_STREAMING);
bool emulatedReadSpeed = devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->emulable & EMU_READ_SPEED);
bool emulatedEthernet = devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->emulable & EMU_ETHERNET);
bool enabledHypervisor = devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->features & FEAT_HYPERVISOR);
bool enabledCleanBoot = devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->location & LOC_DVD_CONNECTOR);
bool rt4kEnable = is_rt4k_alive();
if(option < SET_TRIGGER_LEVEL) {
Expand All @@ -365,7 +370,8 @@ uiDrawObj_t* settings_draw_page(int page_num, int option, ConfigEntry *gameConfi
drawSettingEntryString(page, &page_y_ofs, "Emulate Audio Streaming:", emulateAudioStreamStr[gameConfig->emulateAudioStream], option == SET_AUDIO_STREAM, emulatedAudioStream);
drawSettingEntryString(page, &page_y_ofs, "Emulate Read Speed:", emulateReadSpeedStr[gameConfig->emulateReadSpeed], option == SET_READ_SPEED, emulatedReadSpeed);
drawSettingEntryBoolean(page, &page_y_ofs, "Emulate Broadband Adapter:", gameConfig->emulateEthernet, option == SET_EMULATE_ETHERNET, emulatedEthernet);
drawSettingEntryString(page, &page_y_ofs, "Disable Memory Card:", disableMemoryCardStr[gameConfig->disableMemoryCard], option == SET_DISABLE_MEMCARD, true);
drawSettingEntryString(page, &page_y_ofs, "Disable Memory Card:", disableMemoryCardStr[gameConfig->disableMemoryCard], option == SET_DISABLE_MEMCARD, enabledHypervisor);
drawSettingEntryBoolean(page, &page_y_ofs, "Disable Hypervisor:", gameConfig->disableHypervisor, option == SET_DISABLE_HYPERVISOR, enabledCleanBoot);
drawSettingEntryBoolean(page, &page_y_ofs, "Prefer Clean Boot:", gameConfig->preferCleanBoot, option == SET_CLEAN_BOOT, enabledCleanBoot);
drawSettingEntryNumeric(page, &page_y_ofs, "RetroTINK-4K Profile:", gameConfig->rt4kProfile, option == SET_RT4K_PROFILE, rt4kEnable);
drawSettingEntryString(page, &page_y_ofs, "Reset to defaults", NULL, option == SET_DEFAULTS, true);
Expand Down Expand Up @@ -393,6 +399,7 @@ uiDrawObj_t* settings_draw_page(int page_num, int option, ConfigEntry *gameConfi
drawSettingEntryString(page, &page_y_ofs, "Emulate Read Speed:", emulateReadSpeedStr[swissSettings.emulateReadSpeed], option == SET_READ_SPEED, false);
drawSettingEntryBoolean(page, &page_y_ofs, "Emulate Broadband Adapter:", swissSettings.emulateEthernet, option == SET_EMULATE_ETHERNET, false);
drawSettingEntryString(page, &page_y_ofs, "Disable Memory Card:", disableMemoryCardStr[swissSettings.disableMemoryCard], option == SET_DISABLE_MEMCARD, false);
drawSettingEntryBoolean(page, &page_y_ofs, "Disable Hypervisor:", swissSettings.disableHypervisor, option == SET_DISABLE_HYPERVISOR, false);
drawSettingEntryBoolean(page, &page_y_ofs, "Prefer Clean Boot:", swissSettings.preferCleanBoot, option == SET_CLEAN_BOOT, false);
drawSettingEntryNumeric(page, &page_y_ofs, "RetroTINK-4K Profile:", swissSettings.rt4kProfile, option == SET_DEFAULT_RT4K_PROFILE, false);
drawSettingEntryString(page, &page_y_ofs, "Reset to defaults", NULL, option == SET_DEFAULTS, false);
Expand Down Expand Up @@ -594,8 +601,10 @@ void settings_toggle(int page, int option, int direction, ConfigEntry *gameConfi
else if(page == PAGE_GAME_GLOBAL) {
switch(option) {
case SET_IGR:
swissSettings.igrType += direction;
swissSettings.igrType = (swissSettings.igrType + 3) % 3;
if(devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->features & FEAT_HYPERVISOR)) {
swissSettings.igrType += direction;
swissSettings.igrType = (swissSettings.igrType + 3) % 3;
}
break;
case SET_BS2BOOT:
swissSettings.bs2Boot += direction;
Expand All @@ -621,7 +630,8 @@ void settings_toggle(int page, int option, int direction, ConfigEntry *gameConfi
swissSettings.disableVideoPatches = (swissSettings.disableVideoPatches + 3) % 3;
break;
case SET_PAUSE_AVOUTPUT:
swissSettings.pauseAVOutput ^=1;
if(devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->features & FEAT_HYPERVISOR))
swissSettings.pauseAVOutput ^=1;
break;
case SET_ALL_CHEATS:
swissSettings.autoCheats ^=1;
Expand Down Expand Up @@ -732,8 +742,14 @@ void settings_toggle(int page, int option, int direction, ConfigEntry *gameConfi
swissSettings.emulateEthernet ^= 1;
break;
case SET_DEFAULT_DISABLE_MEMCARD:
swissSettings.disableMemoryCard += direction;
swissSettings.disableMemoryCard = (swissSettings.disableMemoryCard + 3) % 3;
if(devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->features & FEAT_HYPERVISOR)) {
swissSettings.disableMemoryCard += direction;
swissSettings.disableMemoryCard = (swissSettings.disableMemoryCard + 3) % 3;
}
break;
case SET_DEFAULT_DISABLE_HYPERVISOR:
if(devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->location & LOC_DVD_CONNECTOR))
swissSettings.disableHypervisor ^= 1;
break;
case SET_DEFAULT_CLEAN_BOOT:
if(devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->location & LOC_DVD_CONNECTOR))
Expand Down Expand Up @@ -763,6 +779,7 @@ void settings_toggle(int page, int option, int direction, ConfigEntry *gameConfi
swissSettings.emulateReadSpeed = 0;
swissSettings.emulateEthernet = 0;
swissSettings.disableMemoryCard = 0;
swissSettings.disableHypervisor = 0;
swissSettings.preferCleanBoot = 0;
swissSettings.rt4kProfile = 0;
}
Expand Down Expand Up @@ -855,8 +872,14 @@ void settings_toggle(int page, int option, int direction, ConfigEntry *gameConfi
gameConfig->emulateEthernet ^= 1;
break;
case SET_DISABLE_MEMCARD:
gameConfig->disableMemoryCard += direction;
gameConfig->disableMemoryCard = (gameConfig->disableMemoryCard + 3) % 3;
if(devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->features & FEAT_HYPERVISOR)) {
gameConfig->disableMemoryCard += direction;
gameConfig->disableMemoryCard = (gameConfig->disableMemoryCard + 3) % 3;
}
break;
case SET_DISABLE_HYPERVISOR:
if(devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->location & LOC_DVD_CONNECTOR))
gameConfig->disableHypervisor ^= 1;
break;
case SET_CLEAN_BOOT:
if(devices[DEVICE_CUR] == NULL || (devices[DEVICE_CUR]->location & LOC_DVD_CONNECTOR))
Expand Down
2 changes: 2 additions & 0 deletions cube/swiss/source/gui/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ enum SETTINGS_GAME_DEFAULTS {
SET_DEFAULT_READ_SPEED,
SET_DEFAULT_EMULATE_ETHERNET,
SET_DEFAULT_DISABLE_MEMCARD,
SET_DEFAULT_DISABLE_HYPERVISOR,
SET_DEFAULT_CLEAN_BOOT,
SET_DEFAULT_RT4K_PROFILE,
SET_DEFAULT_DEFAULTS,
Expand Down Expand Up @@ -135,6 +136,7 @@ enum SETTINGS_GAME {
SET_READ_SPEED,
SET_EMULATE_ETHERNET,
SET_DISABLE_MEMCARD,
SET_DISABLE_HYPERVISOR,
SET_CLEAN_BOOT,
SET_RT4K_PROFILE,
SET_DEFAULTS,
Expand Down
2 changes: 1 addition & 1 deletion cube/swiss/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ int main(int argc, char *argv[])
wait_press_A();
DrawDispose(msgBox);
}
else if(flippy_version < FLIPPY_VERSION(1,3,3)) {
else if(flippy_version < FLIPPY_VERSION(1,4,0)) {
uiDrawObj_t *msgBox = DrawPublish(DrawMessageBox(D_INFO, "A firmware update is available.\nflippydrive.com/updates"));
wait_press_A();
DrawDispose(msgBox);
Expand Down
Loading

0 comments on commit d5e3ddd

Please sign in to comment.