mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-08 00:02:58 +12:00
Metal renderer & iOS frontend fixes
This commit is contained in:
parent
630952f36b
commit
adcd03d31e
8 changed files with 71 additions and 36 deletions
|
@ -33,6 +33,10 @@ IOS_EXPORT void iosRunFrame(CAMetalLayer* layer) {
|
|||
}
|
||||
|
||||
IOS_EXPORT void iosLoadROM(NSString* pathNS) {
|
||||
auto path = std::filesystem::path([pathNS UTF8String]);
|
||||
emulator->loadROM(path);
|
||||
auto path = std::filesystem::path([pathNS UTF8String]);
|
||||
emulator->loadROM(path);
|
||||
}
|
||||
|
||||
IOS_EXPORT void iosSetOutputSize(uint32_t width, uint32_t height) {
|
||||
emulator->setOutputSize(width, height);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue