mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-27 14:39:20 -04:00
Fix multiple classes being inappropriately zero-initialized via JKR_NEW* (#70)
This might also fix #71 and #72.
This commit is contained in:
@@ -321,9 +321,9 @@ s32 mDoDvdThd_mountAramArchive_c::execute() {
|
||||
BOOL result = FALSE;
|
||||
if (!mArchive) {
|
||||
if (mMountDirection == 0) {
|
||||
mArchive = JKR_NEW_ARGS (heap, 0x20) JKRAramArchive();
|
||||
mArchive = JKR_NEW_ARGS (heap, 0x20) JKRAramArchive;
|
||||
} else {
|
||||
mArchive = JKR_NEW_ARGS (heap, -0x20) JKRAramArchive();
|
||||
mArchive = JKR_NEW_ARGS (heap, -0x20) JKRAramArchive;
|
||||
}
|
||||
#if DEBUG
|
||||
if (mDoDvdThd::verbose) {
|
||||
|
||||
Reference in New Issue
Block a user