mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
add workaround for PSP compiler ICE
svn-id: r42175
This commit is contained in:
parent
b38c5f8c5c
commit
de995433c6
@ -1795,7 +1795,7 @@ uint32 Hotspots::getCurrentHotspot() const {
|
||||
}
|
||||
|
||||
void Hotspots::cleanFloatString(const Hotspot &spot) const {
|
||||
char tempStr[256];
|
||||
static char tempStr[256]; //the static keyword is unnecessary, but was added to work around a PSP compiler ICE.
|
||||
|
||||
// Get the string
|
||||
strncpy0(tempStr, GET_VARO_STR(spot.key), 255);
|
||||
|
Loading…
x
Reference in New Issue
Block a user