Open alby696 opened 8 years ago
Same problem here. Any update?
I've fixed the problem. Just comment the line as follow:
// Internal display is 0, external is 1.
externalScreen = [[[UIScreen screens] objectAtIndex:1] retain];
//screenModes = [[externalScreen availableModes] retain];
// Allow user to choose from available screen-modes (pixel-sizes).
It will build the App without issues. Reason being of this fix, is the fact that the If condition will never be satisfied in AppleTV as there is only one screen available, which is not the case when compiling this code for iPad, iPhone or iPod devices, where you can connect an external display. Therefore that portion of the code never is executed on Apple TV OS and therefore it can be omitted.
Good gaming! Flavio
I just had that error used this fix and now I have Mame on the Apple TV :)
Hi,
i have this problem when i build the mame in the Apple TV.
Thaks a lot for answer for this problem.
Alberto