Hardcode GPU cmd list sizes in the header instead of 2 places so i don't make *that* mistake again.
This commit is contained in:
parent
dc5ac1749f
commit
5f46a967a8
|
@ -22,10 +22,12 @@
|
|||
|
||||
|
||||
#define GPU_RENDER_BUF_ADDR (0x18180000)
|
||||
#define GBA_INIT_LIST_SIZE (1136)
|
||||
#define GBA_LIST2_SIZE (448)
|
||||
|
||||
|
||||
extern const u8 gbaGpuInitList[1136];
|
||||
extern const u8 gbaGpuList2[448];
|
||||
extern u8 gbaGpuInitList[GBA_INIT_LIST_SIZE];
|
||||
extern u8 gbaGpuList2[GBA_LIST2_SIZE];
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -17,11 +17,12 @@
|
|||
*/
|
||||
|
||||
#include "types.h"
|
||||
#include "arm11/gpu_cmd_lists.h"
|
||||
#include "drivers/cache.h"
|
||||
|
||||
|
||||
// 360x240 without scaling, no filter.
|
||||
alignas(16) u8 gbaGpuInitList[1136] =
|
||||
alignas(16) u8 gbaGpuInitList[GBA_INIT_LIST_SIZE] =
|
||||
{
|
||||
0x01, 0x00, 0x00, 0x00, 0x10, 0x01, 0x0F, 0x00, 0x00, 0x00, 0x06, 0x03,
|
||||
0x1C, 0x01, 0x2F, 0x80, 0x00, 0x00, 0x03, 0x03, 0xF0, 0xF0, 0x18, 0x01,
|
||||
|
@ -121,7 +122,7 @@ alignas(16) u8 gbaGpuInitList[1136] =
|
|||
};
|
||||
|
||||
// 360x240 without scaling, no filter.
|
||||
alignas(16) u8 gbaGpuList2[448] =
|
||||
alignas(16) u8 gbaGpuList2[GBA_LIST2_SIZE] =
|
||||
{
|
||||
0x01, 0x00, 0x00, 0x00, 0x10, 0x01, 0x0F, 0x00, 0x00, 0x00, 0x06, 0x03,
|
||||
0x1C, 0x01, 0x2F, 0x80, 0x00, 0x00, 0x03, 0x03, 0xF0, 0xF0, 0x18, 0x01,
|
||||
|
|
Loading…
Reference in New Issue