Home
last modified time | relevance | path

Searched refs:romInfo (Results 1 – 25 of 25) sorted by relevance

/dports/games/libretro-scummvm/scummvm-7b1e929/audio/softsynth/mt32/
H A DROMInfo.cpp60 const ROMInfo *romInfo = getKnownROMInfoFromList(i); in getROMInfo() local
61 if (fileSize == romInfo->fileSize && !strcmp(file->getSHA1(), romInfo->sha1Digest)) { in getROMInfo()
62 return romInfo; in getROMInfo()
68 void ROMInfo::freeROMInfo(const ROMInfo *romInfo) { in freeROMInfo() argument
69 (void) romInfo; in freeROMInfo()
83 const ROMInfo *romInfo = getKnownROMInfoFromList(i); in getROMInfoList() local
84 if ((types & (1 << romInfo->type)) && (pairTypes & (1 << romInfo->pairType))) { in getROMInfoList()
85 *currentROMInList++ = romInfo; in getROMInfoList()
96 ROMImage::ROMImage(File *useFile) : file(useFile), romInfo(ROMInfo::getROMInfo(file)) in ROMImage()
100 ROMInfo::freeROMInfo(romInfo); in ~ROMImage()
[all …]
H A DROMInfo.h44 MT32EMU_EXPORT static void freeROMInfo(const ROMInfo *romInfo);
60 const ROMInfo * const romInfo; variable
/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/src/midi/munt/
H A DROMInfo.cpp58 const ROMInfo *romInfo = getKnownROMInfoFromList(i); in getROMInfo() local
59 if (fileSize == romInfo->fileSize && !strcmp(file->getSHA1(), romInfo->sha1Digest)) { in getROMInfo()
60 return romInfo; in getROMInfo()
66 void ROMInfo::freeROMInfo(const ROMInfo *romInfo) { in freeROMInfo() argument
67 (void) romInfo; in freeROMInfo()
81 const ROMInfo *romInfo = getKnownROMInfoFromList(i); in getROMInfoList() local
82 if ((types & (1 << romInfo->type)) && (pairTypes & (1 << romInfo->pairType))) { in getROMInfoList()
83 *currentROMInList++ = romInfo; in getROMInfoList()
94 ROMImage::ROMImage(File *useFile) : file(useFile), romInfo(ROMInfo::getROMInfo(file)) in ROMImage()
98 ROMInfo::freeROMInfo(romInfo); in ~ROMImage()
[all …]
H A DROMInfo.h44 MT32EMU_EXPORT static void freeROMInfo(const ROMInfo *romInfo);
60 const ROMInfo * const romInfo; variable
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/GUI.NET/Config/
H A DGameSpecificInfo.cs25 RomInfo romInfo = InteropEmu.GetRomInfo(); in GetGameSpecificInfo()
26 …onfig.GameSpecificSettings.Find(gameConfig => gameConfig.GamePrgCrc32 == romInfo.GetPrgCrcString()… in GetGameSpecificInfo()
39 RomInfo romInfo = InteropEmu.GetRomInfo(); in CreateGameSpecificConfig()
41 info.GameName = romInfo.GetRomName(); in CreateGameSpecificConfig()
42 info.GamePrgCrc32 = romInfo.GetPrgCrcString(); in CreateGameSpecificConfig()
79 RomInfo romInfo = InteropEmu.GetRomInfo(); in SetGameSpecificOverscan()
80 if(romInfo.PrgCrc32 == 0) { in SetGameSpecificOverscan()
84 …onfig.GameSpecificSettings.Find(gameConfig => gameConfig.GamePrgCrc32 == romInfo.GetPrgCrcString()… in SetGameSpecificOverscan()
89 info.GameName = romInfo.GetRomName(); in SetGameSpecificOverscan()
90 info.GamePrgCrc32 = romInfo.GetPrgCrcString(); in SetGameSpecificOverscan()
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/GUI.NET/Forms/Cheats/
H A DfrmCheatImport.cs31 RomInfo romInfo = InteropEmu.GetRomInfo(); in frmCheatImport()
32 _gameCrc = romInfo.GetPrgCrcString(); in frmCheatImport()
33 _gameName = romInfo.GetRomName(); in frmCheatImport()
46 RomInfo romInfo = InteropEmu.GetRomInfo(resource); in LoadGame()
47 _gameCrc = romInfo.GetPrgCrcString(); in LoadGame()
48 _gameName = romInfo.GetRomName(); in LoadGame()
H A DfrmCheatList.cs107 RomInfo romInfo = InteropEmu.GetRomInfo(); in UpdateGameList()
109 if(!string.IsNullOrWhiteSpace(romInfo.GetRomName())) { in UpdateGameList()
110 nameByCrc[romInfo.GetPrgCrcString()] = romInfo.GetRomName(); in UpdateGameList()
127 if(_selectedItem == null && !string.IsNullOrWhiteSpace(romInfo.GetRomName())) { in UpdateGameList()
128 gameCrc = romInfo.GetPrgCrcString(); in UpdateGameList()
H A DfrmCheat.cs71 RomInfo romInfo = InteropEmu.GetRomInfo(resource); in LoadGame()
72 _gameCrc = romInfo.GetPrgCrcString(); in LoadGame()
74 ((CheatInfo)Entity).GameName = romInfo.GetRomName(); in LoadGame()
H A DctrlCheatFinder.cs211 RomInfo romInfo = InteropEmu.GetRomInfo(); in btnCreateCheat_Click()
213 GameCrc = romInfo.GetPrgCrcString(), in btnCreateCheat_Click()
214 GameName = romInfo.GetRomName(), in btnCreateCheat_Click()
/dports/games/scummvm/scummvm-2.5.1/audio/softsynth/mt32/
H A DROMInfo.cpp159 const ROMInfo *romInfo = romInfos[i]; in getROMInfo() local
160 if (fileSize == romInfo->fileSize && !strcmp(file->getSHA1(), romInfo->sha1Digest)) { in getROMInfo()
161 return romInfo; in getROMInfo()
167 void ROMInfo::freeROMInfo(const ROMInfo *romInfo) { in freeROMInfo() argument
168 (void) romInfo; in freeROMInfo()
177 if ((types & (1 << romInfo->type)) && (pairTypes & (1 << romInfo->pairType))) { in getROMInfoList()
178 *currentROMInList++ = romInfo; in getROMInfoList()
246 ROMInfo::freeROMInfo(romInfo); in ~ROMImage()
277 if (romImage1->romInfo->pairROMInfo != romImage2->romInfo) { in mergeROMImages()
280 switch (romImage1->romInfo->pairType) { in mergeROMImages()
[all …]
H A DROMInfo.h61 MT32EMU_EXPORT static void freeROMInfo(const ROMInfo *romInfo);
131 const ROMInfo * const romInfo; variable
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/
H A DSaveStateManager.cpp69 RomInfo romInfo = _console->GetRomInfo(); in GetSaveStateHeader() local
70 stream.write((char*)&romInfo.MapperID, sizeof(uint16_t)); in GetSaveStateHeader()
71 stream.write((char*)&romInfo.SubMapperID, sizeof(uint8_t)); in GetSaveStateHeader()
73 string sha1Hash = romInfo.Hash.Sha1; in GetSaveStateHeader()
76 string romName = romInfo.RomName; in GetSaveStateHeader()
155 RomInfo romInfo = _console->GetRomInfo(); in LoadState() local
156 bool gameLoaded = !romInfo.Hash.Sha1.empty(); in LoadState()
157 if(romInfo.Hash.Sha1 != string(hash)) { in LoadState()
160 romInfo.MapperID != mapperId || romInfo.SubMapperID != subMapperId) in LoadState()
H A DGameServerConnection.cpp61 RomInfo romInfo = _console->GetRomInfo(); in SendGameInformation() local
62 …GameInformationMessage gameInfo(romInfo.RomName, romInfo.Hash.Crc32, _controllerPort, _console->Ge… in SendGameInformation()
H A DLuaApi.cpp835 RomInfo romInfo = _console->GetRomInfo(); in GetRomInfo() local
839 lua_pushstringvalue(name, romInfo.RomName); in GetRomInfo()
842 lua_pushintvalue(fileCrc32Hash, romInfo.Hash.Crc32); in GetRomInfo()
843 lua_pushstringvalue(fileSha1Hash, romInfo.Hash.Sha1); in GetRomInfo()
844 lua_pushintvalue(prgChrCrc32Hash, romInfo.Hash.PrgCrc32); in GetRomInfo()
845 lua_pushstringvalue(prgChrMd5Hash, romInfo.Hash.PrgChrMd5); in GetRomInfo()
846 lua_pushintvalue(format, romInfo.Format); in GetRomInfo()
847 lua_pushboolvalue(isChrRam, romInfo.HasChrRam); in GetRomInfo()
H A DConsole.cpp322 RomInfo romInfo = _mapper->GetRomInfo(); in Initialize() local
323 if(!_master && romInfo.VsType == VsSystemType::VsDualSystem) { in Initialize()
329 switch(romInfo.System) { in Initialize()
336 _settings->SetPpuModel(romInfo.VsPpuModel); in Initialize()
354 if(romInfo.System == GameSystem::VsSystem) { in Initialize()
/dports/games/libretro-scummvm/scummvm-7b1e929/audio/softsynth/mt32/c_interface/
H A Dc_interface.cpp422 …const ROMInfo *romInfo = context->controlROMImage == NULL ? NULL : context->controlROMImage->getRO… in mt32emu_get_rom_info() local
423 if (romInfo != NULL) { in mt32emu_get_rom_info()
424 rom_info->control_rom_id = romInfo->shortName; in mt32emu_get_rom_info()
425 rom_info->control_rom_description = romInfo->description; in mt32emu_get_rom_info()
426 rom_info->control_rom_sha1_digest = romInfo->sha1Digest; in mt32emu_get_rom_info()
432 romInfo = context->pcmROMImage == NULL ? NULL : context->pcmROMImage->getROMInfo(); in mt32emu_get_rom_info()
433 if (romInfo != NULL) { in mt32emu_get_rom_info()
434 rom_info->pcm_rom_id = romInfo->shortName; in mt32emu_get_rom_info()
435 rom_info->pcm_rom_description = romInfo->description; in mt32emu_get_rom_info()
436 rom_info->pcm_rom_sha1_digest = romInfo->sha1Digest; in mt32emu_get_rom_info()
/dports/games/scummvm/scummvm-2.5.1/audio/softsynth/mt32/c_interface/
H A Dc_interface.cpp338 const ROMInfo *romInfo; in identifyROM() local
340 romInfo = ROMInfo::getROMInfo(romFile); in identifyROM()
347 romInfo = ROMInfo::getROMInfo(romFile, configuration->getCompatibleROMInfos()); in identifyROM()
349 if (romInfo == NULL) { in identifyROM()
353 if (romInfo->type == ROMInfo::Control) fillROMInfo(rom_info, romInfo, NULL); in identifyROM()
354 else if (romInfo->type == ROMInfo::PCM) fillROMInfo(rom_info, NULL, romInfo); in identifyROM()
359 …ool isROMInfoCompatible(const MachineConfiguration *machineConfiguration, const ROMInfo *romInfo) { in isROMInfoCompatible() argument
363 if (romInfo == compatibleROMInfos[i]) return true; in isROMInfoCompatible()
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/InteropDLL/
H A DConsoleWrapper.cpp403 RomInfo romInfo = _console->GetRomInfo(); in GetRomInfo() local
404 interopRomInfo.Crc32 = romInfo.Hash.Crc32; in GetRomInfo()
405 interopRomInfo.PrgCrc32 = romInfo.Hash.PrgCrc32; in GetRomInfo()
406 interopRomInfo.Format = romInfo.Format; in GetRomInfo()
407 interopRomInfo.IsChrRam = romInfo.HasChrRam; in GetRomInfo()
408 interopRomInfo.MapperId = romInfo.MapperID; in GetRomInfo()
409 interopRomInfo.FilePrgOffset = romInfo.FilePrgOffset; in GetRomInfo()
410 if(romInfo.Hash.Sha1.size() == 40) { in GetRomInfo()
411 memcpy(interopRomInfo.Sha1, romInfo.Hash.Sha1.c_str(), 40); in GetRomInfo()
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Libretro/
H A Dlibretro.cpp839 RomInfo romInfo = _console->GetRomInfo(); in update_core_controllers() local
840 if(romInfo.IsInDatabase || romInfo.IsNes20Header) { in update_core_controllers()
841 _console->GetSettings()->InitializeInputDevices(romInfo.InputType, romInfo.System, true); in update_core_controllers()
883 …) != ExpansionPortDevice::None || romInfo.System == GameSystem::Famicom || romInfo.System == GameS… in update_core_controllers()
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/GUI.NET/
H A DInteropEmu.cs772 InteropRomInfo romInfo = new InteropRomInfo(); in GetRomInfo()
773 romInfo.Sha1 = new byte[40]; in GetRomInfo()
775 return new RomInfo(romInfo); in GetRomInfo()
1775 public RomInfo(InteropRomInfo romInfo) in RomInfo() argument
1778 this.Crc32 = romInfo.Crc32; in RomInfo()
1779 this.PrgCrc32 = romInfo.PrgCrc32; in RomInfo()
1780 this.Format = romInfo.Format; in RomInfo()
1781 this.IsChrRam = romInfo.IsChrRam; in RomInfo()
1782 this.MapperId = romInfo.MapperId; in RomInfo()
1783 this.FilePrgOffset = romInfo.FilePrgOffset; in RomInfo()
[all …]
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/GUI.NET/Forms/Config/
H A DfrmVideoConfig.cs116 RomInfo romInfo = InteropEmu.GetRomInfo(); in InitializeGameSpecificOverscanTab()
117 if(romInfo.PrgCrc32 == 0) { in InitializeGameSpecificOverscanTab()
120 chkEnableGameSpecificOverscan.Text += " (" + romInfo.GetRomName() + ")"; in InitializeGameSpecificOverscanTab()
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/GUI.NET/Debugger/
H A DfrmDebugger.cs361 RomInfo romInfo = InteropEmu.GetRomInfo(); in UpdateFileOptions()
362 …mnuSaveRom.Enabled = romInfo.Format == RomFormat.iNes && hasChanges && !romInfo.RomFile.Compressed; in UpdateFileOptions()
363 mnuSaveAsIps.Enabled = romInfo.Format == RomFormat.iNes && hasChanges; in UpdateFileOptions()
365 mnuSaveRomAs.Enabled = romInfo.Format == RomFormat.iNes; in UpdateFileOptions()
366 mnuEditHeader.Enabled = romInfo.Format == RomFormat.iNes; in UpdateFileOptions()
368 mnuCdlStripUnusedData.Enabled = romInfo.Format == RomFormat.iNes; in UpdateFileOptions()
369 mnuCdlStripUsedData.Enabled = romInfo.Format == RomFormat.iNes; in UpdateFileOptions()
H A DDbgImporter.cs753 RomInfo romInfo = InteropEmu.GetRomInfo(); in Import()
754 _headerSize = (int)romInfo.FilePrgOffset; in Import()
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/GUI.NET/Forms/
H A DfrmMain.Tools.cs212 RomInfo romInfo = InteropEmu.GetRomInfo(); in mnuInstallHdPack_Click()
226 string targetFolder = Path.Combine(ConfigManager.HdPackFolder, romInfo.GetRomName()); in mnuInstallHdPack_Click()
/dports/games/libretro-mgba/mgba-6186d45/src/platform/qt/
H A DWindow.cpp1111 …Action* romInfo = addGameAction(tr("ROM &info..."), "romInfo", openControllerTView<ROMInfo>(), "fi… in setupMenu() local