Fix compile on new devkitARM
This commit is contained in:
parent
d4503bc037
commit
bb7ee12766
|
@ -306,3 +306,12 @@ void GPU_FinishDrawing()
|
|||
GPUCMD_AddWrite(GPUREG_FRAMEBUFFER_INVALIDATE, 0x00000001);
|
||||
GPUCMD_AddWrite(GPUREG_EARLYDEPTH_CLEAR, 0x00000001);
|
||||
}
|
||||
|
||||
void GPUCMD_Finalize(void)
|
||||
{
|
||||
GPUCMD_AddMaskedWrite(GPUREG_PRIMITIVE_CONFIG, 0x8, 0x00000000);
|
||||
GPUCMD_AddWrite(GPUREG_FRAMEBUFFER_FLUSH, 0x00000001);
|
||||
GPUCMD_AddWrite(GPUREG_FRAMEBUFFER_INVALIDATE, 0x00000001);
|
||||
GPUCMD_AddWrite(GPUREG_FINALIZE, 0x12345678);
|
||||
GPUCMD_AddWrite(GPUREG_FINALIZE, 0x12345678); //not the cleanest way of guaranteeing 0x10-byte size but whatever good enough for now
|
||||
}
|
||||
|
|
|
@ -235,3 +235,6 @@ void GPU_DrawElements(GPU_Primitive_t primitive, u32* indexArray, u32 n) DEPRECA
|
|||
* @deprecated
|
||||
*/
|
||||
void GPU_FinishDrawing() DEPRECATED;
|
||||
|
||||
/// Finalizes the GPU command buffer.
|
||||
void GPUCMD_Finalize(void) DEPRECATED;
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "../video_driver.h"
|
||||
#include "../common/ctr_common.h"
|
||||
#include "../drivers/ctr_gu.h"
|
||||
#include "../../ctr/gpu_old.h"
|
||||
|
||||
#include "../../verbosity.h"
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include "../../gfx/video_driver.h"
|
||||
#include "../../gfx/common/ctr_common.h"
|
||||
#include "../../gfx/drivers/ctr_gu.h"
|
||||
#include "../../ctr/gpu_old.h"
|
||||
|
||||
static const float *menu_display_ctr_get_default_vertices(void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue