mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
49 lines
1.1 KiB
C++
49 lines
1.1 KiB
C++
/**
|
|
******************************************************************************
|
|
* Xenia : Xbox 360 Emulator Research Project *
|
|
******************************************************************************
|
|
* Copyright 2013 Ben Vanik. All rights reserved. *
|
|
* Released under the BSD license - see LICENSE in the root for more details. *
|
|
******************************************************************************
|
|
*/
|
|
|
|
#ifndef XENIA_KERNEL_FS_DEVICES_DISC_IMAGE_DEVICE_H_
|
|
#define XENIA_KERNEL_FS_DEVICES_DISC_IMAGE_DEVICE_H_
|
|
|
|
#include <xenia/common.h>
|
|
#include <xenia/core.h>
|
|
|
|
#include <xenia/kernel/fs/device.h>
|
|
|
|
|
|
namespace xe {
|
|
namespace kernel {
|
|
namespace fs {
|
|
|
|
|
|
class GDFX;
|
|
|
|
|
|
class DiscImageDevice : public Device {
|
|
public:
|
|
DiscImageDevice(const char* path, const xechar_t* local_path);
|
|
virtual ~DiscImageDevice();
|
|
|
|
int Init();
|
|
|
|
virtual Entry* ResolvePath(const char* path);
|
|
|
|
private:
|
|
xechar_t* local_path_;
|
|
xe_mmap_ref mmap_;
|
|
GDFX* gdfx_;
|
|
};
|
|
|
|
|
|
} // namespace fs
|
|
} // namespace kernel
|
|
} // namespace xe
|
|
|
|
|
|
#endif // XENIA_KERNEL_FS_DEVICES_DISC_IMAGE_DEVICE_H_
|