mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
iidx, linux: cache lstat result for movie thumbnails (#474)
## Link to GitHub Issue, if one exists https://codeberg.org/nixac/spicetools/issues/4 ## Description of change Inspired by the Linux issue above in the fork, cache lstat calls for thumbnail. IIDX 32 and 33 make a call for this every frame which can cause significant overhead on Linux. This is being enabled for all versions and not just the Linux variant of the executables since it provides some marginal performance gain on Windows. ## Testing Tested IIDX 32/33, with the option on/off, and with AVS verbose logging on/off. Tested with ifs_layeredfs hook as well just to verify functionality.
This commit is contained in:
@@ -1766,6 +1766,14 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
|
||||
.type = OptionType::Bool,
|
||||
.category = "Development",
|
||||
},
|
||||
{
|
||||
// DisableAvsCache
|
||||
.title = "Disable AVS Cache",
|
||||
.name = "avscachedisable",
|
||||
.desc = "Disable optimization used for some games to cache data file info (only for IIDX32+ for now)",
|
||||
.type = OptionType::Bool,
|
||||
.category = "Development",
|
||||
},
|
||||
{
|
||||
.title = "Output PEB",
|
||||
.name = "pebprint",
|
||||
|
||||
Reference in New Issue
Block a user