Removing xenia/malloc.*
Using standard memory functions now.
This commit is contained in:
@@ -9,19 +9,16 @@
|
||||
|
||||
#include <xenia/gpu/register_file.h>
|
||||
|
||||
|
||||
using namespace xe;
|
||||
using namespace xe::gpu;
|
||||
|
||||
|
||||
RegisterFile::RegisterFile() {
|
||||
xe_zero_struct(values, sizeof(values));
|
||||
}
|
||||
RegisterFile::RegisterFile() { memset(values, 0, sizeof(values)); }
|
||||
|
||||
const char* RegisterFile::GetRegisterName(uint32_t index) {
|
||||
switch (index) {
|
||||
#define XE_GPU_REGISTER(index, type, name) \
|
||||
case index: return #name;
|
||||
case index: \
|
||||
return #name;
|
||||
#include <xenia/gpu/xenos/register_table.inc>
|
||||
#undef XE_GPU_REGISTER
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user