Adding support for disc images.

With this, games can now be loaded! Of course, prep fails.
This commit is contained in:
Ben Vanik
2013-01-31 20:11:13 -08:00
parent f78fdba9c3
commit 7f846afdfc
9 changed files with 452 additions and 7 deletions

View File

@@ -92,8 +92,8 @@ void xe_mmap_release(xe_mmap_ref mmap) {
xe_ref_release((xe_ref)mmap, (xe_ref_dealloc_t)xe_mmap_dealloc);
}
void* xe_mmap_get_addr(xe_mmap_ref mmap) {
return mmap->addr;
uint8_t* xe_mmap_get_addr(xe_mmap_ref mmap) {
return (uint8_t*)mmap->addr;
}
size_t xe_mmap_get_length(xe_mmap_ref mmap) {