Merge branch 'master' into vulkan
This commit is contained in:
@@ -17,11 +17,17 @@ namespace xe {
|
|||||||
namespace kernel {
|
namespace kernel {
|
||||||
namespace xboxkrnl {
|
namespace xboxkrnl {
|
||||||
|
|
||||||
dword_result_t XUsbcamCreate(unknown_t unk1, // E
|
dword_result_t XUsbcamCreate(dword_t buffer,
|
||||||
unknown_t unk2, // 0x4B000
|
dword_t buffer_size, // 0x4B000 640x480?
|
||||||
lpunknown_t unk3_ptr) {
|
lpunknown_t unk3_ptr) {
|
||||||
// 0 = success.
|
// This function should return success.
|
||||||
return X_ERROR_DEVICE_NOT_CONNECTED;
|
// It looks like it only allocates space for usbcam support.
|
||||||
|
// returning error code might cause games to initialize incorrectly.
|
||||||
|
// "Carcassonne" initalization function checks for result from this
|
||||||
|
// function. If value is different than 0 instead of loading
|
||||||
|
// rest of the game it returns from initalization function and tries
|
||||||
|
// to run game normally which causes crash, due to uninitialized data.
|
||||||
|
return X_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
DECLARE_XBOXKRNL_EXPORT1(XUsbcamCreate, kNone, kStub);
|
DECLARE_XBOXKRNL_EXPORT1(XUsbcamCreate, kNone, kStub);
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
#include "xenia/base/assert.h"
|
#include "xenia/base/assert.h"
|
||||||
#include "xenia/base/logging.h"
|
#include "xenia/base/logging.h"
|
||||||
#include "xenia/ui/d3d12/d3d12_util.h"
|
|
||||||
|
|
||||||
namespace xe {
|
namespace xe {
|
||||||
namespace ui {
|
namespace ui {
|
||||||
|
|||||||
@@ -106,4 +106,4 @@ class D3D12DescriptorHeapPool {
|
|||||||
} // namespace ui
|
} // namespace ui
|
||||||
} // namespace xe
|
} // namespace xe
|
||||||
|
|
||||||
#endif // XENIA_UI_D3D12_D3D12_UPLOAD_BUFFER_POOL_H_
|
#endif // XENIA_UI_D3D12_D3D12_DESCRIPTOR_HEAP_POOL_H_
|
||||||
|
|||||||
@@ -17,9 +17,6 @@ namespace xe {
|
|||||||
namespace ui {
|
namespace ui {
|
||||||
namespace d3d12 {
|
namespace d3d12 {
|
||||||
|
|
||||||
// Submission index is the fence value or a value derived from it (if reclaiming
|
|
||||||
// less often than once per fence value, for instance).
|
|
||||||
|
|
||||||
class D3D12UploadBufferPool : public GraphicsUploadBufferPool {
|
class D3D12UploadBufferPool : public GraphicsUploadBufferPool {
|
||||||
public:
|
public:
|
||||||
D3D12UploadBufferPool(D3D12Provider& provider,
|
D3D12UploadBufferPool(D3D12Provider& provider,
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
#ifndef XENIA_UI_GRAPHICS_UPLOAD_BUFFER_POOL_H_
|
#ifndef XENIA_UI_GRAPHICS_UPLOAD_BUFFER_POOL_H_
|
||||||
#define XENIA_UI_GRAPHICS_UPLOAD_BUFFER_POOL_H_
|
#define XENIA_UI_GRAPHICS_UPLOAD_BUFFER_POOL_H_
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
namespace xe {
|
namespace xe {
|
||||||
|
|||||||
Reference in New Issue
Block a user