Making xenia-test run on Windows.

This commit is contained in:
Ben Vanik
2013-05-25 05:20:28 -07:00
parent edb3aabdd4
commit bd8376e231
3 changed files with 64 additions and 13 deletions

View File

@@ -100,7 +100,7 @@ int Processor::Setup() {
int Processor::LoadRawBinary(const xechar_t* path, uint32_t start_address) {
ExecModule* exec_module = NULL;
const xechar_t* name = xestrrchr(path, '/') + 1;
const xechar_t* name = xestrrchr(path, XE_PATH_SEPARATOR) + 1;
// TODO(benvanik): map file from filesystem API, not via platform API.
xe_mmap_ref mmap = xe_mmap_open(kXEFileModeRead, path, 0, 0);