1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-03-12 11:32:30 +00:00

Use updated interface.

This commit is contained in:
Thomas Harte 2025-02-04 23:14:49 -05:00
parent 07493a6b18
commit 1449330ed3

View File

@ -795,9 +795,7 @@ void MainWindow::dropEvent(QDropEvent* event) {
const auto contents = fileContentsAndClose(file);
if(!contents) continue;
CRC::CRC32 generator;
const uint32_t crc = generator.compute_crc(*contents);
const uint32_t crc = CRC::CRC32::crc_of(*contents);
std::optional<ROM::Description> target_rom = ROM::Description::from_crc(crc);
if(target_rom) {