MythTV  master
Macros | Functions
rom_metadata.cpp File Reference
#include "config.h"
#include "rom_metadata.h"
#include <QFile>
#include <mythcontext.h>
#include "zlib.h"
Include dependency graph for rom_metadata.cpp:

Go to the source code of this file.

Macros

#define Z_NULL   nullptr
 

Functions

static int calcOffset (const QString &GameType, uLong filesize)
 
static QString crcStr (uLong crc)
 
QString crcinfo (const QString &romname, const QString &GameType, QString *key, RomDBMap *romDB)
 

Macro Definition Documentation

◆ Z_NULL

#define Z_NULL   nullptr

Definition at line 11 of file rom_metadata.cpp.

Function Documentation

◆ calcOffset()

static int calcOffset ( const QString &  GameType,
uLong  filesize 
)
static

Definition at line 13 of file rom_metadata.cpp.

Referenced by crcinfo().

◆ crcStr()

static QString crcStr ( uLong  crc)
static

Definition at line 40 of file rom_metadata.cpp.

Referenced by crcinfo().

◆ crcinfo()

QString crcinfo ( const QString &  romname,
const QString &  GameType,
QString *  key,
RomDBMap romDB 
)

Definition at line 54 of file rom_metadata.cpp.

Referenced by GameHandler::GetMetadata().