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

@@ -25,7 +25,7 @@ xe_mmap_ref xe_mmap_open(xe_pal_ref pal, const xe_file_mode mode,
const size_t offset, const size_t length);
xe_mmap_ref xe_mmap_retain(xe_mmap_ref mmap);
void xe_mmap_release(xe_mmap_ref mmap);
void *xe_mmap_get_addr(xe_mmap_ref mmap);
uint8_t* xe_mmap_get_addr(xe_mmap_ref mmap);
size_t xe_mmap_get_length(xe_mmap_ref mmap);