mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 06:40:42 -07:00
ddr: tweaks to mdxf i/o (#464)
## Link to GitHub Issue, if one exists #452 ## Description of change * Split the MDXF I/O option into three: auto, thread, and backfill. `auto` is the same as what `thread` used to be before this change (based on I/O poll rate), but `thread` now always forces thread poll mode. `auto` is the default (behavior wise, same as before) * For the poll rate measurement, start polling after 20s mark to avoid frame drops during game boot * Minor code clean up ## Testing manual test in windowed + full screen
This commit is contained in:
@@ -1152,11 +1152,10 @@ int main_implementation(int argc, char *argv[]) {
|
||||
}
|
||||
if (options[launcher::Options::DDRP4IOBufferMode].is_active()) {
|
||||
if (options[launcher::Options::DDRP4IOBufferMode].value_text() == "thread") {
|
||||
acio::MDXF_BUFFER_FILL_MODE = acio::THREAD_MODE;
|
||||
acio::MDXF_BUFFER_FILL_MODE = acio::MDXFBufferFillMode::THREAD_MODE;
|
||||
} else if (options[launcher::Options::DDRP4IOBufferMode].value_text() == "backfill") {
|
||||
acio::MDXF_BUFFER_FILL_MODE = acio::BACKFILL_MODE;
|
||||
acio::MDXF_BUFFER_FILL_MODE = acio::MDXFBufferFillMode::BACKFILL_MODE;
|
||||
}
|
||||
// else - default (no value)
|
||||
}
|
||||
|
||||
if (options[launcher::Options::MidiAlgoVer].is_active()) {
|
||||
|
||||
Reference in New Issue
Block a user