From 6f6a16ecf249c5d3ed0236c944e9c6f845627693 Mon Sep 17 00:00:00 2001 From: robojumper Date: Fri, 17 May 2024 14:18:18 +0200 Subject: [PATCH] thunk --- src/m/m_dvd.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/m/m_dvd.cpp b/src/m/m_dvd.cpp index 1e6e9a64..fad1585b 100644 --- a/src/m/m_dvd.cpp +++ b/src/m/m_dvd.cpp @@ -445,8 +445,7 @@ int ConvertPathToEntrynum(const char *path, u8 *outType) { return num; } -// TODO This thunk needs to not be inlined! -/** 802ef950 */ +/** 802ef9d0 */ int ConvertPathToEntrynum_Thunk(const char *path, u8 *outType) { return ConvertPathToEntrynum(path, outType); } @@ -588,7 +587,7 @@ mDvd_toMainRam_normal_c::mDvd_toMainRam_normal_c(int mountDirection) : mDvd_toMa /** 802eff90 */ mDvd_toMainRam_normal_c *mDvd_toMainRam_normal_c::create(const char *path, int mountDirection, EGG::Heap *heap) { u8 type; - int entryNum = ConvertPathToEntrynum(path, &type); + int entryNum = ConvertPathToEntrynum_Thunk(path, &type); mDvd_toMainRam_normal_c *cmd; if (entryNum == -1) { cmd = nullptr;