diff --git a/src/engine/fileOps/p.cpp b/src/engine/fileOps/p.cpp index fd309dc85..09d8adad2 100644 --- a/src/engine/fileOps/p.cpp +++ b/src/engine/fileOps/p.cpp @@ -24,8 +24,6 @@ extern FurnaceGUI g; #endif -#define _LE(string) (string) - class DivEngine; //P VOX ADPCM sample bank @@ -125,7 +123,7 @@ void DivEngine::loadP(SafeReader& reader, std::vector& ret, String& } catch (EndOfFileException& e) { - lastError=_LE("premature end of file"); + lastError=_("premature end of file"); logE("premature end of file"); } } \ No newline at end of file diff --git a/src/engine/fileOps/p86.cpp b/src/engine/fileOps/p86.cpp index 367541600..840d65d28 100644 --- a/src/engine/fileOps/p86.cpp +++ b/src/engine/fileOps/p86.cpp @@ -24,8 +24,6 @@ extern FurnaceGUI g; #endif -#define _LE(string) (string) - class DivEngine; //P86 8-bit PCM sample bank @@ -143,7 +141,7 @@ void DivEngine::loadP86(SafeReader& reader, std::vector& ret, String } catch (EndOfFileException& e) { - lastError=_LE("premature end of file"); + lastError=_("premature end of file"); logE("premature end of file"); } } \ No newline at end of file diff --git a/src/engine/fileOps/pdx.cpp b/src/engine/fileOps/pdx.cpp index 9da099a04..fa57b2006 100644 --- a/src/engine/fileOps/pdx.cpp +++ b/src/engine/fileOps/pdx.cpp @@ -24,8 +24,6 @@ extern FurnaceGUI g; #endif -#define _LE(string) (string) - class DivEngine; //PDX 8-bit OKI ADPCM sample bank @@ -102,7 +100,7 @@ void DivEngine::loadPDX(SafeReader& reader, std::vector& ret, String } catch (EndOfFileException& e) { - lastError=_LE("premature end of file"); + lastError=_("premature end of file"); logE("premature end of file"); } } \ No newline at end of file diff --git a/src/engine/fileOps/ppc.cpp b/src/engine/fileOps/ppc.cpp index f5180a590..a5555abca 100644 --- a/src/engine/fileOps/ppc.cpp +++ b/src/engine/fileOps/ppc.cpp @@ -24,8 +24,6 @@ extern FurnaceGUI g; #endif -#define _LE(string) (string) - class DivEngine; //PPC PMD's YM2608 ADPCM-B sample bank @@ -143,7 +141,7 @@ void DivEngine::loadPPC(SafeReader& reader, std::vector& ret, String } catch (EndOfFileException& e) { - lastError=_LE("premature end of file"); + lastError=_("premature end of file"); logE("premature end of file"); } } \ No newline at end of file diff --git a/src/engine/fileOps/pps.cpp b/src/engine/fileOps/pps.cpp index c4156a10d..e491302b6 100644 --- a/src/engine/fileOps/pps.cpp +++ b/src/engine/fileOps/pps.cpp @@ -24,8 +24,6 @@ extern FurnaceGUI g; #endif -#define _LE(string) (string) - class DivEngine; //PPS AY-3-8910 sample bank @@ -126,7 +124,7 @@ void DivEngine::loadPPS(SafeReader& reader, std::vector& ret, String } catch (EndOfFileException& e) { - lastError=_LE("premature end of file"); + lastError=_("premature end of file"); logE("premature end of file"); } } diff --git a/src/engine/fileOps/pvi.cpp b/src/engine/fileOps/pvi.cpp index c6e7956b4..8352ebf9e 100644 --- a/src/engine/fileOps/pvi.cpp +++ b/src/engine/fileOps/pvi.cpp @@ -24,8 +24,6 @@ extern FurnaceGUI g; #endif -#define _LE(string) (string) - class DivEngine; //PVI YM2608 ADPCM-B sample bank @@ -159,7 +157,7 @@ void DivEngine::loadPVI(SafeReader& reader, std::vector& ret, String } catch (EndOfFileException& e) { - lastError=_LE("premature end of file"); + lastError=_("premature end of file"); logE("premature end of file"); } } \ No newline at end of file diff --git a/src/engine/fileOps/pzi.cpp b/src/engine/fileOps/pzi.cpp index 33161401d..69bf15d87 100644 --- a/src/engine/fileOps/pzi.cpp +++ b/src/engine/fileOps/pzi.cpp @@ -24,8 +24,6 @@ extern FurnaceGUI g; #endif -#define _LE(string) (string) - class DivEngine; //PZI 8-bit PCM sample bank @@ -156,7 +154,7 @@ void DivEngine::loadPZI(SafeReader& reader, std::vector& ret, String } catch (EndOfFileException& e) { - lastError=_LE("premature end of file"); + lastError=_("premature end of file"); logE("premature end of file"); } } \ No newline at end of file