mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 18:04:06 +00:00
Backports of isle-portable x64 fixes (#1044)
* Introduce LPD3DRM_APPDATA typedef for setting d3drm appdata * Fix warning about assigning const string literals to variable char pointers * Don't cast pointers to integers on non-32-bit architectures * memset 2nd argument is int * Assume cpuid is available on x86_64, needs testing on i386 and unavailable on anything else * Store HFILE in its own member variable
This commit is contained in:
committed by
GitHub
parent
62307e1819
commit
8113a17167
@@ -15,9 +15,9 @@ DECOMP_SIZE_ASSERT(HistoryBook, 0x3e4)
|
||||
// FUNCTION: LEGO1 0x100822f0
|
||||
HistoryBook::HistoryBook()
|
||||
{
|
||||
memset(m_alphabet, NULL, sizeof(m_alphabet));
|
||||
memset(m_names, NULL, sizeof(m_names));
|
||||
memset(m_scores, NULL, sizeof(m_scores));
|
||||
memset(m_alphabet, 0, sizeof(m_alphabet));
|
||||
memset(m_names, 0, sizeof(m_names));
|
||||
memset(m_scores, 0, sizeof(m_scores));
|
||||
NotificationManager()->Register(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user