mirror of https://github.com/PCSX2/pcsx2.git
a1a6374709
in vs 2019, the system xhash used by unordered_map uses Target in its template definition. pcsx2 #defines this in the r5900 and r3000 headers which leak cause a cryptic compilation error. A quick fix here is just to undef it in gamebase.h. A better fix would be to encapsulate the definition or use something more c++ to avoid the pre-processor. Add a comment to explain the _Target_ undef. tap.h did not have string defined. I guess this was included transitively somewhere with an earlier set of system headers. Biostools, the file is opened in text mode which causes the bios to be partially read. I'm not sure that's vs2019 specific but it's wrong in any case. Maybe the default mode parameter changed at some point. Maybe wxFile would be a better choice here rather than WxFFile because wxFile always open s in binary mode. |
||
---|---|---|
.. | ||
Linux | ||
Win32 | ||
CMakeLists.txt | ||
Config.h | ||
DEV9.cpp | ||
DEV9.h | ||
PS2Etypes.h | ||
ata.h | ||
flash.cpp | ||
net.h | ||
pcap_io.cpp | ||
pcap_io.h | ||
smap.cpp | ||
smap.h |