From 7029e1615a215bc43e51f8eac605f31dd01ba8cd Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Fri, 9 Feb 2024 13:05:38 +0100 Subject: [PATCH] systemsp: lovebery needs Copy to VRAM. Allow space in card codes. Enable Copy to VRAM for lovebery and lovebero. Allow space characters in card codes. Issue #1388 Force HLE BIOS for Suika. Issue #1278 --- core/emulator.cpp | 7 +++++-- core/rend/gui.cpp | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/core/emulator.cpp b/core/emulator.cpp index fe1d3a2dea..dcdeec1c18 100644 --- a/core/emulator.cpp +++ b/core/emulator.cpp @@ -268,7 +268,8 @@ static void loadSpecialSettings() config::UseReios.override(false); } else if (prod_id == "T17708N" // Stupid Invaders (US) - || prod_id == "T17711D") // Stupid Invaders (EU) + || prod_id == "T17711D" // Stupid Invaders (EU) + || prod_id == "T46509M") // Suika (JP) { NOTICE_LOG(BOOT, "Forcing HLE BIOS"); config::UseReios.override(true); @@ -317,7 +318,9 @@ static void loadSpecialSettings() config::TranslucentPolygonDepthMask.override(true); } if (prod_id == "BEACH SPIKERS JAPAN" - || prod_id == "CHOCO MARKER") + || prod_id == "CHOCO MARKER" + || prod_id == "LOVE AND BERRY USA VER1.003" // lovebero + || prod_id == "LOVE AND BERRY USA VER2.000") // lovebery { INFO_LOG(BOOT, "Enabling RTT Copy to VRAM for game %s", prod_id.c_str()); config::RenderToTextureBuffer.override(true); diff --git a/core/rend/gui.cpp b/core/rend/gui.cpp index c2be652dce..82e4054b25 100644 --- a/core/rend/gui.cpp +++ b/core/rend/gui.cpp @@ -570,7 +570,7 @@ static void gui_display_commands() { char cardBuf[64] {}; strncpy(cardBuf, card_reader::barcodeGetCard().c_str(), sizeof(cardBuf) - 1); - if (ImGui::InputText("Card", cardBuf, sizeof(cardBuf), ImGuiInputTextFlags_CharsNoBlank, nullptr, nullptr)) + if (ImGui::InputText("Card", cardBuf, sizeof(cardBuf), ImGuiInputTextFlags_None, nullptr, nullptr)) card_reader::barcodeSetCard(cardBuf); }