Part 1 of kernel simplification/cleanup: removing externs.

This commit is contained in:
Ben Vanik
2014-08-15 22:59:28 -07:00
parent 56ce363ac5
commit 916dc397ab
56 changed files with 136 additions and 896 deletions

View File

@@ -7,14 +7,13 @@
******************************************************************************
*/
#include <xenia/kernel/xam_video.h>
#include <xenia/common.h>
#include <xenia/core.h>
#include <xenia/xbox.h>
#include <xenia/kernel/kernel_state.h>
#include <xenia/kernel/xam_private.h>
#include <xenia/kernel/util/shim_utils.h>
#include <xenia/kernel/modules.h>
using namespace xe;
using namespace xe::kernel;
@@ -24,7 +23,8 @@ using namespace xe::kernel::xam;
namespace xe {
namespace kernel {
// TODO(benvanik): actually check to see if these are the same.
void xeVdQueryVideoMode(X_VIDEO_MODE *video_mode, bool swap);
SHIM_CALL XGetVideoMode_shim(
PPCContext* ppc_state, KernelState* state) {
uint32_t video_mode_ptr = SHIM_GET_ARG_32(0);