avisando el tamaño del programa cuando se pasa del filesize
This commit is contained in:
@@ -116,7 +116,7 @@ void Machine::on_rom_load(const std::string& path)
|
|||||||
// Por lo que un rom sería muy grande si sobrepasa este tamaño
|
// Por lo que un rom sería muy grande si sobrepasa este tamaño
|
||||||
if (file_size >= 0x1000 - 0x200)
|
if (file_size >= 0x1000 - 0x200)
|
||||||
{
|
{
|
||||||
std::cout << "File too large!" << std::endl;
|
std::cout << "File too large!" << file_size << std::endl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user