Merge branch 'spice2x' into spice22x

This commit is contained in:
[ ]
2023-10-24 20:25:56 +09:00
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] 06/08/2023 [spice2x]
Improved touch support for Jubeat and Reflec Beat. Improved touch support for Jubeat and Reflec Beat.
+1 -1
View File
@@ -1,6 +1,6 @@
FROM archlinux:base FROM archlinux:base
RUN pacman --noconfirm -Sy gettext \ RUN pacman --noconfirm -Syu gettext \
git \ git \
bash \ bash \
zip \ zip \
@@ -965,7 +965,7 @@ static void graphics_d3d9_ldj_on_present(IDirect3DDevice9 *wrapped_device) {
if (SUB_SWAP_CHAIN != nullptr) { if (SUB_SWAP_CHAIN != nullptr) {
wintouchemu::update(); wintouchemu::update();
if (GRAPHICS_WINDOWED) { if (GRAPHICS_WINDOWED || SUBSCREEN_FORCE_REDRAW) {
SUB_SWAP_CHAIN->Present(nullptr, nullptr, nullptr, nullptr, 0); 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; UINT GRAPHICS_FORCE_REFRESH = 0;
bool GRAPHICS_FORCE_SINGLE_ADAPTER = false; bool GRAPHICS_FORCE_SINGLE_ADAPTER = false;
bool GRAPHICS_9_ON_12 = false; bool GRAPHICS_9_ON_12 = false;
bool SUBSCREEN_FORCE_REDRAW = false;
// settings // settings
std::string GRAPHICS_DEVICEID = "PCI\\VEN_1002&DEV_7146"; 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 std::optional<std::string> GRAPHICS_WINDOW_POS;
extern bool GRAPHICS_WINDOW_ALWAYS_ON_TOP; extern bool GRAPHICS_WINDOW_ALWAYS_ON_TOP;
extern bool SUBSCREEN_FORCE_REDRAW;
// settings // settings
extern std::string GRAPHICS_DEVICEID; extern std::string GRAPHICS_DEVICEID;
extern std::string GRAPHICS_SCREENSHOT_DIR; extern std::string GRAPHICS_SCREENSHOT_DIR;
+3
View File
@@ -374,6 +374,9 @@ int main_implementation(int argc, char *argv[]) {
games::sdvx::OVERLAY_POS = games::sdvx::SDVX_OVERLAY_MIDDLE; 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()) { if (options[launcher::Options::LoadIIDXModule].value_bool()) {
attach_iidx = true; attach_iidx = true;
} }
+10
View File
@@ -547,6 +547,16 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
.category = "Overlay", .category = "Overlay",
.elements = {{"top", ""}, {"center", ""}, {"bottom", ""}}, .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", .title = "Force Load DDR Module",
.name = "ddr", .name = "ddr",
+1
View File
@@ -70,6 +70,7 @@ namespace launcher {
spice2x_SDVXDigitalKnobSensitivity, spice2x_SDVXDigitalKnobSensitivity,
spice2x_SDVXAsioDriver, spice2x_SDVXAsioDriver,
spice2x_SDVXSubPos, spice2x_SDVXSubPos,
spice2x_SDVXSubRedraw,
LoadDDRModule, LoadDDRModule,
DDR43Mode, DDR43Mode,
LoadPopnMusicModule, LoadPopnMusicModule,