mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-27 04:07:05 +00:00
PSP: fixed debug function. Compiler optimization was calling the destructor before the end of the function, causing incorrect stack output.
svn-id: r49013
This commit is contained in:
parent
9d3c8d4910
commit
dd8aa85eb5
@ -120,7 +120,7 @@ public:
|
||||
};
|
||||
|
||||
/* We don't need anything but this line at the beginning of each function to debug function calls */
|
||||
#define DEBUG_ENTER_FUNC() PSPStackDebugFuncs(__PRETTY_FUNCTION__)
|
||||
#define DEBUG_ENTER_FUNC() volatile PSPStackDebugFuncs __foo(__PRETTY_FUNCTION__)
|
||||
#else /* Don't debug function calls */
|
||||
#define DEBUG_ENTER_FUNC()
|
||||
#endif /* __PSP_DEBUG_FUNCS__ */
|
||||
|
Loading…
Reference in New Issue
Block a user