mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
split rpcs3 and hle libraries
merge rpcs3 utilities
This commit is contained in:
parent
b33e2662b6
commit
62ad27d1e2
1233 changed files with 7004 additions and 3819 deletions
26
rpcs3/Crypto/decrypt_binaries.h
Normal file
26
rpcs3/Crypto/decrypt_binaries.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#pragma once
|
||||
|
||||
class decrypt_binaries_t
|
||||
{
|
||||
std::vector<u128> m_klics;
|
||||
std::vector<std::string> m_modules;
|
||||
usz m_index = 0;
|
||||
|
||||
public:
|
||||
decrypt_binaries_t(std::vector<std::string> modules) noexcept
|
||||
: m_modules(std::move(modules))
|
||||
{
|
||||
}
|
||||
|
||||
usz decrypt(std::string_view klic_input = {});
|
||||
|
||||
bool done() const
|
||||
{
|
||||
return m_index >= m_modules.size();
|
||||
}
|
||||
|
||||
const std::string& operator[](usz index) const
|
||||
{
|
||||
return ::at32(m_modules, index);
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue