mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-22 05:35:54 +00:00
Add a flags field to HLEFunction. Fix a small path issue.
This commit is contained in:
parent
3f730548b1
commit
d769297d06
@ -223,6 +223,9 @@ ISOFileSystem::TreeEntry *ISOFileSystem::GetFromPath(std::string path)
|
||||
return &entireISO;
|
||||
}
|
||||
|
||||
if (path.substr(0,2) == "./")
|
||||
path.erase(0,2);
|
||||
|
||||
if (path[0] == '/')
|
||||
path.erase(0,1);
|
||||
|
||||
|
@ -25,11 +25,17 @@
|
||||
|
||||
typedef void (* HLEFunc)();
|
||||
|
||||
enum {
|
||||
NOT_IN_INTERRUPT,
|
||||
NOT_DISPATCH_SUSPENDED,
|
||||
};
|
||||
|
||||
struct HLEFunction
|
||||
{
|
||||
u32 ID;
|
||||
HLEFunc func;
|
||||
const char *name;
|
||||
u32 flags;
|
||||
};
|
||||
|
||||
struct HLEModule
|
||||
|
Loading…
x
Reference in New Issue
Block a user