Massive refactoring of all code + audio skeleton.
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.
This commit is contained in:
@@ -13,16 +13,19 @@
|
||||
#include <xenia/gpu/graphics_system.h>
|
||||
|
||||
|
||||
XEDECLARECLASS1(xe, Emulator);
|
||||
|
||||
|
||||
namespace xe {
|
||||
namespace gpu {
|
||||
|
||||
|
||||
GraphicsSystem* Create(const CreationParams* params);
|
||||
GraphicsSystem* Create(Emulator* emulator);
|
||||
|
||||
GraphicsSystem* CreateNop(const CreationParams* params);
|
||||
GraphicsSystem* CreateNop(Emulator* emulator);
|
||||
|
||||
#if XE_PLATFORM(WIN32)
|
||||
GraphicsSystem* CreateD3D11(const CreationParams* params);
|
||||
GraphicsSystem* CreateD3D11(Emulator* emulator);
|
||||
#endif // WIN32
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user