This should make it easier to find files and (in the future) split things up into separate libraries. It also changes around emulator initialization to make it a little more difficult to do things out of order and a little more sensible as to when real init work happens. Also adding a skeleton audio system/driver and reworking CPU register access to be more extensible.
51 lines
1.2 KiB
C++
51 lines
1.2 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_XBOXKRNL_FS_DEVICES_DISC_IMAGE_DEVICE_H_
|
|
#define XENIA_KERNEL_XBOXKRNL_FS_DEVICES_DISC_IMAGE_DEVICE_H_
|
|
|
|
#include <xenia/common.h>
|
|
#include <xenia/core.h>
|
|
|
|
#include <xenia/kernel/xboxkrnl/fs/device.h>
|
|
|
|
|
|
namespace xe {
|
|
namespace kernel {
|
|
namespace xboxkrnl {
|
|
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 xboxkrnl
|
|
} // namespace kernel
|
|
} // namespace xe
|
|
|
|
|
|
#endif // XENIA_KERNEL_XBOXKRNL_FS_DEVICES_DISC_IMAGE_DEVICE_H_
|