drc: rm unneeded writebacks in stubs, as suggested by Ari64
[pcsx_rearmed.git] / libpcsxcore / ppc / ppc.c
1 /*
2  * ix86 core v0.5.1
3  *  Authors: linuzappz <linuzappz@pcsx.net>
4  *           alexey silinov
5  */
6
7 #include <stdio.h>
8 #include <string.h>
9
10 #include "ppc.h"
11
12 // General Purpose hardware registers
13 int cpuHWRegisters[NUM_HW_REGISTERS] = {
14     3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 
15     21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31
16 };
17
18 u32 *ppcPtr;
19
20 void ppcInit() {
21 }
22 void ppcSetPtr(u32 *ptr) {
23         ppcPtr = ptr;
24 }
25 void ppcAlign(int bytes) {
26         // forward align
27         ppcPtr = (u32*)(((u32)ppcPtr + bytes) & ~(bytes - 1));
28 }
29
30 void ppcShutdown() {
31 }
32