Update to spice2x-23-09-29

> omitted mostly useless path length warning
This commit is contained in:
[ ]
2023-10-24 20:24:09 +09:00
parent a0e44f9e4b
commit 04dee88276
8 changed files with 23 additions and 2 deletions
+4
View File
@@ -1,3 +1,7 @@
09/29/2023 [spice2x]
Fix subscreen not updating in certain versions of EG.
Detect long paths and log a warning message.
06/08/2023 [spice2x]
Improved touch support for Jubeat and Reflec Beat.
+1 -1
View File
@@ -1,6 +1,6 @@
FROM archlinux:base
RUN pacman --noconfirm -Sy gettext \
RUN pacman --noconfirm -Syu gettext \
git \
bash \
zip \
@@ -965,7 +965,7 @@ static void graphics_d3d9_ldj_on_present(IDirect3DDevice9 *wrapped_device) {
if (SUB_SWAP_CHAIN != nullptr) {
wintouchemu::update();
if (GRAPHICS_WINDOWED) {
if (GRAPHICS_WINDOWED || SUBSCREEN_FORCE_REDRAW) {
SUB_SWAP_CHAIN->Present(nullptr, nullptr, nullptr, nullptr, 0);
}
}
+1
View File
@@ -55,6 +55,7 @@ std::vector<HWND> GRAPHICS_WINDOWS;
UINT GRAPHICS_FORCE_REFRESH = 0;
bool GRAPHICS_FORCE_SINGLE_ADAPTER = false;
bool GRAPHICS_9_ON_12 = false;
bool SUBSCREEN_FORCE_REDRAW = false;
// settings
std::string GRAPHICS_DEVICEID = "PCI\\VEN_1002&DEV_7146";
+2
View File
@@ -33,6 +33,8 @@ extern std::optional<std::string> GRAPHICS_WINDOW_SIZE;
extern std::optional<std::string> GRAPHICS_WINDOW_POS;
extern bool GRAPHICS_WINDOW_ALWAYS_ON_TOP;
extern bool SUBSCREEN_FORCE_REDRAW;
// settings
extern std::string GRAPHICS_DEVICEID;
extern std::string GRAPHICS_SCREENSHOT_DIR;
+3
View File
@@ -373,6 +373,9 @@ int main_implementation(int argc, char *argv[]) {
games::sdvx::OVERLAY_POS = games::sdvx::SDVX_OVERLAY_MIDDLE;
}
}
if (options[launcher::Options::spice2x_SDVXSubRedraw].value_bool()) {
SUBSCREEN_FORCE_REDRAW = true;
}
if (options[launcher::Options::LoadIIDXModule].value_bool()) {
attach_iidx = true;
}
+10
View File
@@ -547,6 +547,16 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
.category = "Overlay",
.elements = {{"top", ""}, {"center", ""}, {"bottom", ""}},
},
{
// spice2x_SDVXSubRedraw
.title = "SDVX Subscreen Force Redraw",
.name = "sp2x-sdvxsubredraw",
.desc = "Check if second monitor for subscreen doesn't update every frame; "
"forces subscreen to redraw every frame, only needed for newer EG.",
.type = OptionType::Bool,
.game_name = "Sound Voltex",
.category = "Game Options",
},
{
.title = "Force Load DDR Module",
.name = "ddr",
+1
View File
@@ -70,6 +70,7 @@ namespace launcher {
spice2x_SDVXDigitalKnobSensitivity,
spice2x_SDVXAsioDriver,
spice2x_SDVXSubPos,
spice2x_SDVXSubRedraw,
LoadDDRModule,
DDR43Mode,
LoadPopnMusicModule,