Get rid of macro

This commit is contained in:
twinaphex 2020-10-03 12:50:59 +02:00
parent 53567cbc8d
commit c59a69cd27
3 changed files with 3 additions and 5 deletions

View File

@ -5,8 +5,6 @@
#include <stdlib.h>
#include <string.h>
#define _(String) (String)
#include "math_ops.h"
#include "git.h"
#include "settings.h"

View File

@ -159,7 +159,7 @@ void MDFNMP_RemoveReadPatches(void)
static void CheatMemErr(void)
{
MDFN_PrintError(_("Error allocating memory for cheat data."));
MDFN_PrintError("Error allocating memory for cheat data.");
}
/* This function doesn't allocate any memory for "name" */

View File

@ -436,8 +436,8 @@ static bool ValidateRawDataSector(uint8 *data, const uint32 lba)
{
if(!edc_lec_check_and_correct(data, false))
{
MDFN_DispMessage(_("Uncorrectable data at sector %u"), lba);
MDFN_PrintError(_("Uncorrectable data at sector %u"), lba);
MDFN_DispMessage("Uncorrectable data at sector %u", lba);
MDFN_PrintError("Uncorrectable data at sector %u", lba);
din.Flush();
cd.data_transfer_done = false;