Android: Add BIOS importer
This commit is contained in:
parent
423054e8ac
commit
13a9411b07
6 changed files with 126 additions and 7 deletions
|
|
@ -334,6 +334,12 @@ HostInterface::FindBIOSImagesInDirectory(const char* directory)
|
|||
return results;
|
||||
}
|
||||
|
||||
bool HostInterface::HasAnyBIOSImages()
|
||||
{
|
||||
const std::string dir = GetBIOSDirectory();
|
||||
return (FindBIOSImageInDirectory(ConsoleRegion::NTSC_U, dir.c_str()).has_value());
|
||||
}
|
||||
|
||||
bool HostInterface::LoadState(const char* filename)
|
||||
{
|
||||
std::unique_ptr<ByteStream> stream = FileSystem::OpenFile(filename, BYTESTREAM_OPEN_READ | BYTESTREAM_OPEN_STREAMED);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue