mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
Use requires syntax in more places
Change style in some places.
This commit is contained in:
parent
7dae376646
commit
0c9c481cee
10 changed files with 50 additions and 68 deletions
|
|
@ -114,20 +114,20 @@ struct ppu_linkage_info
|
|||
ppu_static_function* static_func = nullptr;
|
||||
ppu_static_variable* static_var = nullptr;
|
||||
u32 export_addr = 0;
|
||||
std::set<u32> imports;
|
||||
std::set<u32> frefss;
|
||||
std::set<u32> imports{};
|
||||
std::set<u32> frefss{};
|
||||
};
|
||||
|
||||
// FNID -> (export; [imports...])
|
||||
std::unordered_map<u32, info, value_hash<u32>> functions;
|
||||
std::unordered_map<u32, info, value_hash<u32>> variables;
|
||||
std::unordered_map<u32, info, value_hash<u32>> functions{};
|
||||
std::unordered_map<u32, info, value_hash<u32>> variables{};
|
||||
|
||||
// Obsolete
|
||||
bool imported = false;
|
||||
};
|
||||
|
||||
// Module map
|
||||
std::unordered_map<std::string, module_data> modules;
|
||||
std::unordered_map<std::string, module_data> modules{};
|
||||
};
|
||||
|
||||
// Initialize static modules.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue