xenia-canary/src/xenia
emoose e4b326667d [VFS] Improve STFS GetBlockHash function - now gets hash from correct hash table.
This should hopefully allow Xenia to be more compatible with larger / more made-use-of profiles.

Each hash table actually consists of two hash tables for redundancy, which table is used is decided by the hash table level above it.
Previously there was some code to try swapping which table to use if a flag isn't set, but the code ended up being commented out & unused...

After looking at some other X360 mod tools sources I've managed to come up with this solution, which visits each hash-level it can to retrieve the correct table number to use.
Really this is probably a little inefficient, the code I based this on would actually cache each table in memory to make these visits a lot quicker, maybe should look into doing the same here.
For packages with read_only_package() == true, this maybe isn't even necessary too - but it's probably worth keeping it as-is just in case though.
2020-02-19 03:36:11 -05:00
..
app [HID] Allow winkey driver to use the first unused user index 2020-02-19 03:36:10 -05:00
apu [APU/Linux] Implement cross platform audio using SDL2 library. 2020-02-10 14:01:47 -06:00
base [Base] Change DEFINE_uint64 -> DEFINE_int64, cpptoml seems to have issues with uint64.. 2020-02-19 03:36:09 -05:00
cpu [Base] Change DEFINE_uint64 -> DEFINE_int64, cpptoml seems to have issues with uint64.. 2020-02-19 03:36:09 -05:00
debug/ui [imgui] Fixes to work with new api. 2019-11-20 08:05:40 -06:00
gpu [GPU] InitializeRingBuffer - Clear buffer space to prevent random data readout 2020-02-19 03:36:11 -05:00
hid [HID] Allow winkey driver to use the first unused user index 2020-02-19 03:36:10 -05:00
kernel [XAM] Add some proper error codes to a few XamUser functions 2020-02-19 03:36:11 -05:00
tools/api-scanner Replace all gflag implementations with cvar implementations 2019-08-03 02:34:07 +02:00
ui [Base] Change DEFINE_uint64 -> DEFINE_int64, cpptoml seems to have issues with uint64.. 2020-02-19 03:36:09 -05:00
vfs [VFS] Improve STFS GetBlockHash function - now gets hash from correct hash table. 2020-02-19 03:36:11 -05:00
config.cc Change default config file name 2020-02-19 03:36:03 -05:00
config.h Add config class for loading and saving of config file 2019-08-03 02:34:07 +02:00
emulator.cc [XAM/User] Add support for multiple signed-in users/profiles 2020-02-19 03:36:10 -05:00
emulator.h [App/Discord] Rework how rich presence is managed. 2019-08-03 08:16:04 -05:00
memory.cc [XAM/User] Added descriptions and labels for achievements 2020-02-19 03:36:08 -05:00
memory.h [XAM/User] Added descriptions and labels for achievements 2020-02-19 03:36:08 -05:00
premake5.lua Get rid of gflags alltogether 2019-08-03 02:34:19 +02:00
xbox.h [XAM] Implement a number of language/locale related functions. 2019-09-04 20:03:25 -05:00