Merge branch 'master' into vulkan
This commit is contained in:
commit
a53a5217a3
|
@ -17,11 +17,17 @@ namespace xe {
|
|||
namespace kernel {
|
||||
namespace xboxkrnl {
|
||||
|
||||
dword_result_t XUsbcamCreate(unknown_t unk1, // E
|
||||
unknown_t unk2, // 0x4B000
|
||||
dword_result_t XUsbcamCreate(dword_t buffer,
|
||||
dword_t buffer_size, // 0x4B000 640x480?
|
||||
lpunknown_t unk3_ptr) {
|
||||
// 0 = success.
|
||||
return X_ERROR_DEVICE_NOT_CONNECTED;
|
||||
// This function should return success.
|
||||
// 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);
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "xenia/base/assert.h"
|
||||
#include "xenia/base/logging.h"
|
||||
#include "xenia/ui/d3d12/d3d12_util.h"
|
||||
|
||||
namespace xe {
|
||||
namespace ui {
|
||||
|
|
|
@ -106,4 +106,4 @@ class D3D12DescriptorHeapPool {
|
|||
} // namespace ui
|
||||
} // 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 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 {
|
||||
public:
|
||||
D3D12UploadBufferPool(D3D12Provider& provider,
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#ifndef XENIA_UI_GRAPHICS_UPLOAD_BUFFER_POOL_H_
|
||||
#define XENIA_UI_GRAPHICS_UPLOAD_BUFFER_POOL_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace xe {
|
||||
|
|
Loading…
Reference in New Issue