diff --git a/core/nullDC.cpp b/core/nullDC.cpp index a2bedf745..bc7954970 100755 --- a/core/nullDC.cpp +++ b/core/nullDC.cpp @@ -170,7 +170,11 @@ void LoadSpecialSettings() // L.O.L || !strncmp("T2106M", reios_product_number, 6) // Miss Moonlight - || !strncmp("T18702M", reios_product_number, 7)) + || !strncmp("T18702M", reios_product_number, 7) + // Tom Clancy's Rainbow Six (US) + || !strncmp("T40401N", reios_product_number, 7) + // Tom Clancy's Rainbow Six incl. Eagle Watch Missions (EU) + || !strncmp("T-45001D05", reios_product_number, 10)) { settings.rend.RenderToTextureBuffer = 1; rtt_to_buffer_game = true; @@ -199,6 +203,13 @@ void LoadSpecialSettings() settings.rend.ExtraDepthScale = 10000; extra_depth_game = true; } + // Re-Volt (US, EU) + else if (!strncmp("T-8109N", reios_product_number, 7) || !strncmp("T8107D 50", reios_product_number, 10)) + { + INFO_LOG(BOOT, "Enabling Extra depth scaling for game %s", reios_product_number); + settings.rend.ExtraDepthScale = 100; + extra_depth_game = true; + } // Super Producers if (!strncmp("T14303M", reios_product_number, 7) // Giant Killers @@ -292,12 +303,12 @@ void LoadSpecialSettings() #endif } -void dc_reset() +void dc_reset(bool manual) { - plugins_Reset(false); - mem_Reset(false); + plugins_Reset(manual); + mem_Reset(manual); - sh4_cpu.Reset(false); + sh4_cpu.Reset(manual); } static bool init_done; @@ -358,7 +369,7 @@ int dc_start_game(const char *path) if (init_done) { InitSettings(); - dc_reset(); + dc_reset(true); LoadSettings(false); #if DC_PLATFORM == DC_PLATFORM_DREAMCAST if (!settings.bios.UseReios) @@ -449,7 +460,7 @@ int dc_start_game(const char *path) #endif init_done = true; - dc_reset(); + dc_reset(true); game_started = true; dc_resume(); @@ -489,7 +500,7 @@ void* dc_run(void*) SaveRomFiles(get_writable_data_path("/data/")); if (reset_requested) { - dc_reset(); + dc_reset(false); } } while (reset_requested); diff --git a/core/rend/gui.cpp b/core/rend/gui.cpp index 6d8217149..cf02f651c 100644 --- a/core/rend/gui.cpp +++ b/core/rend/gui.cpp @@ -47,7 +47,7 @@ extern void dc_loadstate(); extern void dc_savestate(); extern void dc_stop(); -extern void dc_reset(); +extern void dc_reset(bool manual); extern void dc_resume(); extern int dc_start_game(const char *path); extern void UpdateInputState(u32 port); @@ -337,7 +337,7 @@ static void gui_display_commands() ImGui::NextColumn(); if (ImGui::Button("Restart", ImVec2(150 * scaling, 50 * scaling))) { - dc_reset(); + dc_reset(true); gui_state = Closed; } ImGui::NextColumn();