diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-07-18 05:31:51 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-07-18 05:31:51 +0000 |
| commit | faf586e8f1b1f9dc08840ae6003a334ff2f310d4 (patch) | |
| tree | 95edcbec5f57d6ccd4a6095a32f6e228a9f78747 /Source/Core/Common/Src/FileSearch.cpp | |
| parent | 2c419382c97c30e68c0cc60c8df9f98d5cf9ed80 (diff) | |
Because we only ever call Pos_ReadDirect (and through that, DataRead<T>)
from JIT generated code, the compiler may not get the heads-up to properly
prepare for run-time instantiation of those template functions.
Explicitly instantiating Pos_ReadDirect gets around that issue.
Also force DataRead* inline as gcc didn't always do that itself when the
DataRead functions in turn were called from (other) template functions.
I am far from a C++ language lawyer, so I cannot speak learnedly about the
correctness of this solution, but it works.
Dolphin.app built on OS X 10.6 now actually works on 10.5 as well.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5901 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/FileSearch.cpp')
0 files changed, 0 insertions, 0 deletions
