Skip to content

Commit

Permalink
systemsp: lovebery needs Copy to VRAM. Allow space in card codes.
Browse files Browse the repository at this point in the history
Enable Copy to VRAM for lovebery and lovebero.
Allow space characters in card codes.
Issue #1388
Force HLE BIOS for Suika.
Issue #1278
  • Loading branch information
flyinghead committed Feb 9, 2024
1 parent 3469b7f commit 7029e16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions core/emulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion core/rend/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 7029e16

Please sign in to comment.