Fixing line endings.

Need to run a script to do this...
This commit is contained in:
Ben Vanik 2013-10-16 22:22:17 -07:00
parent a41827942e
commit 5de9b84904
1 changed files with 50 additions and 50 deletions

View File

@ -1,52 +1,52 @@
/** /**
****************************************************************************** ******************************************************************************
* Xenia : Xbox 360 Emulator Research Project * * Xenia : Xbox 360 Emulator Research Project *
****************************************************************************** ******************************************************************************
* Copyright 2013 Ben Vanik. All rights reserved. * * Copyright 2013 Ben Vanik. All rights reserved. *
* Released under the BSD license - see LICENSE in the root for more details. * * Released under the BSD license - see LICENSE in the root for more details. *
****************************************************************************** ******************************************************************************
*/ */
#ifndef XENIA_KERNEL_MODULES_XBOXKRNL_FS_DEVICES_HOST_PATH_FILE_H_ #ifndef XENIA_KERNEL_MODULES_XBOXKRNL_FS_DEVICES_HOST_PATH_FILE_H_
#define XENIA_KERNEL_MODULES_XBOXKRNL_FS_DEVICES_HOST_PATH_FILE_H_ #define XENIA_KERNEL_MODULES_XBOXKRNL_FS_DEVICES_HOST_PATH_FILE_H_
#include <xenia/common.h> #include <xenia/common.h>
#include <xenia/core.h> #include <xenia/core.h>
#include <xenia/kernel/modules/xboxkrnl/objects/xfile.h> #include <xenia/kernel/modules/xboxkrnl/objects/xfile.h>
namespace xe { namespace xe {
namespace kernel { namespace kernel {
namespace xboxkrnl { namespace xboxkrnl {
namespace fs { namespace fs {
class HostPathEntry; class HostPathEntry;
class HostPathFile : public XFile { class HostPathFile : public XFile {
public: public:
HostPathFile(KernelState* kernel_state, uint32_t desired_access, HostPathFile(KernelState* kernel_state, uint32_t desired_access,
HostPathEntry* entry, HANDLE file_handle); HostPathEntry* entry, HANDLE file_handle);
virtual ~HostPathFile(); virtual ~HostPathFile();
virtual X_STATUS QueryInfo(FileInfo* out_info); virtual X_STATUS QueryInfo(FileInfo* out_info);
protected: protected:
virtual X_STATUS ReadSync( virtual X_STATUS ReadSync(
void* buffer, size_t buffer_length, size_t byte_offset, void* buffer, size_t buffer_length, size_t byte_offset,
size_t* out_bytes_read); size_t* out_bytes_read);
private: private:
HostPathEntry* entry_; HostPathEntry* entry_;
HANDLE file_handle_; HANDLE file_handle_;
}; };
} // namespace fs } // namespace fs
} // namespace xboxkrnl } // namespace xboxkrnl
} // namespace kernel } // namespace kernel
} // namespace xe } // namespace xe
#endif // XENIA_KERNEL_MODULES_XBOXKRNL_FS_DEVICES_HOST_PATH_FILE_H_ #endif // XENIA_KERNEL_MODULES_XBOXKRNL_FS_DEVICES_HOST_PATH_FILE_H_