Comments (36)
I think it's something to do with permissions or the emulation core.
Whatever it is I hope it gets fixed soon.
from gc4ios.
Hmm...
Log:
Update Main Frame: OGL
Asking for window handle
2016-06-03 11:30:12.470 Dolphin[919:10193] Boot Started, waiting for run state
2016-06-03 11:30:12.471 Dolphin[919:10193] Core booted
shm_open failed: Operation not permitted
Warning: Failed to map 1 GB of memory space: Cannot allocate memory
Failed to map 1 GB of memory space: Cannot allocate memory
Memory Setup of size 100925440 starting at 0x0
mmap failed
Warning: MemoryMap_Setup: Failed finding a memory base.
MemoryMap_Setup: Failed finding a memory base.
2016-06-03 11:30:13.759 Dolphin[919:10193] Reloading
2016-06-03 11:30:14.760 Dolphin[919:10193] Reloading
from gc4ios.
FIXED
To be able to run on iOS 9 you need to change source code.
Change this
void* base = mmap(0, MemSize, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0);
to this
void* base = mmap(0, MemSize, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_JIT, -1, 0);
in MemArena.cpp
Wow. Wii Games seems to be Working!
@WilliamLCobb Please update code
from gc4ios.
Could you possibly send a compiled version with the fix?
I don't have a Mac.
from gc4ios.
Yeah
from gc4ios.
@jakeb072001 Sorry. I can't do that. You need to wait @WilliamLCobb to update deb in his repo
from gc4ios.
Ok.
from gc4ios.
from gc4ios.
@Nmzik wait what? How did you get The JIT flag to work? That's the source of all of the JIT problems because apple disallows it
from gc4ios.
Is that a good thing. Something to celebrate?
from gc4ios.
@WilliamLCobb I'm sorry, what? "apple disallows it" in non-jailbroken device.
from gc4ios.
But i think u need to add check for iOS version :
if (ios9) then void* base = mmap(0, MemSize, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_JIT, -1, 0);
i am not sure about iOS 8
from gc4ios.
What about iOS 8. It won't work on it?
from gc4ios.
Jit is working on iOS 9
Sample code :
uint8_t codetest[] = {0xE7,0x23,0x00,0xB9,0xE7,0x23,0x40,0xB9,0xC0,0x03,0x5F,0xD6};
void *mem = mmap(NULL, 1024, PROT_WRITE | PROT_EXEC, MAP_ANON | MAP_PRIVATE | MAP_JIT, -1, 0);
memcpy(mem, codetest, sizeof(codetest));
void (*func)() = (void(*)())mem;
func();
from gc4ios.
Wait, so your telling me that the source of the JIT problem was just a single word?
from gc4ios.
You can enable/activate JIT in your code/program/app only if you have jailbroken device! You can't do it on non-jailbroken device (apple disallows it). So, basically, yes - its just a single word. But, again, i am not sure about iOS 8 at all as there was different exploit used to escalate privileges (Pangu Taig stuff...).
from gc4ios.
Well I'm on iOS 9 and jailbroken so I'm happy!
from gc4ios.
@Nmzik Thanks for sharing that jit line.I need jailbreak, i can't load Paper Mario rom, it stay on black screen. And by the way, @jakeb072001 How is it running with jailbreak on iOS 9?
from gc4ios.
@MaquinaDelMisterio I don't have the new version yet because I don't have a Mac.
I have to wait until the next update from @WilliamLCobb .
When I get the new update I will tell you.
from gc4ios.
@jakeb072001 I would like to help you, but my developer account its free, and i only can use the app on my device. And thanks, i would love to see how performace its doing with jit.
from gc4ios.
But the kernel wasn't patched for 64-bit devices. You "shouldn't" be able to run that code. I'll try it
from gc4ios.
And the blackscreen means the device was not able to allocate a 1GB block of continuous memory. I don't think this check is necessary though so I'll remove it
from gc4ios.
Ok so now what
from gc4ios.
It's actually runnable:)
from gc4ios.
Sorry if m disturbing but when will the cydia repo be updated? And will the black screen be fixed?
from gc4ios.
@WilliamLCobb You should try it.It will run! Make breakpoint to check
from gc4ios.
@nfsvsgta probably tonight. This is an early alpha and I have a few other projects I have to spend time on too to pay the rent. Things should start to work better in the next few days. I'll let you know when I update it
@Nmzik I'll give it a shot right now. If this works JIT should work perfectly with very little effort
from gc4ios.
Did you have to add any entitlements or did it just work?
from gc4ios.
It just work:)
from gc4ios.
Thanks
from gc4ios.
@Nmzik Just tried and it doesn't work. Whats your iOS version and phone?
from gc4ios.
iOS 9.0.2 iPhone 5S. I am not joking. It's working
from gc4ios.
Thanks for that commit
from gc4ios.
whoah it's working now... I don't know why, it shouldn't work. Even with a jailbreak pangu never patched the kernel
from gc4ios.
So JIT is working... I'll update if I get a game to run
from gc4ios.
Good to hear it
from gc4ios.
Related Issues (20)
- iOS 10 / iPhone 7 HOT 6
- Gc4ios iPhone 7 plus HOT 4
- Support jailbroken iOS 10 specially iPhone 7 plus. HOT 2
- c-stick UI bug and d-pad foam memory bug
- Games crash when I load them HOT 7
- Metal renderer support (feature request). HOT 5
- no lzmaExtractor file. HOT 3
- do u have can run ipa packproject
- Broken on iOS 11+ HOT 1
- GC4iOS, game used to load, but canβt load now HOT 2
- Call of Duty Big Red One doesn't boot at all HOT 3
- Need for Speed Most Wanted (Doesn't boot)
- GC4iOS problem HOT 1
- Remove instruction in libcore.a HOT 1
- Stuck on connect nunchuck
- battle for bikini bottom crashes the app
- When you say 3-20 fps, what devices has been tested? HOT 6
- Crashes on non jailbroken iphone 8 HOT 4
- Where to download HOT 1
- Sd
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gc4ios.