mirror of
https://github.com/halpz/re3.git
synced 2025-07-03 19:50:45 +00:00
fixes
This commit is contained in:
@ -644,4 +644,4 @@ public:
|
||||
static_assert(sizeof(CMenuManager) == 0x564, "CMenuManager: error");
|
||||
|
||||
extern CMenuManager FrontEndMenuManager;
|
||||
extern DWORD _dwOperatingSystemVersion;
|
||||
extern unsigned long _dwOperatingSystemVersion;
|
@ -104,6 +104,10 @@ public:
|
||||
return m_flags[i].free ? nil : (T*)&m_entries[i];
|
||||
}
|
||||
T *GetAt(int handle){
|
||||
#ifdef FIX_BUGS
|
||||
if (handle == -1)
|
||||
return nil;
|
||||
#endif
|
||||
return m_flags[handle>>8].u == (handle & 0xFF) ?
|
||||
(T*)&m_entries[handle >> 8] : nil;
|
||||
}
|
||||
|
Reference in New Issue
Block a user