mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-14 05:55:13 +01:00
dyncom: Remove duplicate enums/prototypes
These are already defined in arm_dyncom_interpreter_dec.cpp.
This commit is contained in:
parent
f4921d0f9d
commit
1e0255364c
@ -13,6 +13,7 @@
|
|||||||
#include "core/mem_map.h"
|
#include "core/mem_map.h"
|
||||||
#include "core/hle/svc.h"
|
#include "core/hle/svc.h"
|
||||||
#include "core/arm/disassembler/arm_disasm.h"
|
#include "core/arm/disassembler/arm_disasm.h"
|
||||||
|
#include "core/arm/dyncom/arm_dyncom_dec.h"
|
||||||
#include "core/arm/dyncom/arm_dyncom_interpreter.h"
|
#include "core/arm/dyncom/arm_dyncom_interpreter.h"
|
||||||
#include "core/arm/dyncom/arm_dyncom_thumb.h"
|
#include "core/arm/dyncom/arm_dyncom_thumb.h"
|
||||||
#include "core/arm/dyncom/arm_dyncom_run.h"
|
#include "core/arm/dyncom/arm_dyncom_run.h"
|
||||||
@ -1179,13 +1180,6 @@ static inline void *AllocBuffer(unsigned int size) {
|
|||||||
return (void *)&inst_buf[start];
|
return (void *)&inst_buf[start];
|
||||||
}
|
}
|
||||||
|
|
||||||
enum DECODE_STATUS {
|
|
||||||
DECODE_SUCCESS,
|
|
||||||
DECODE_FAILURE
|
|
||||||
};
|
|
||||||
|
|
||||||
int decode_arm_instr(uint32_t instr, int32_t *idx);
|
|
||||||
|
|
||||||
static shtop_fp_t get_shtop(unsigned int inst) {
|
static shtop_fp_t get_shtop(unsigned int inst) {
|
||||||
if (BIT(inst, 25)) {
|
if (BIT(inst, 25)) {
|
||||||
return DPO(Immediate);
|
return DPO(Immediate);
|
||||||
|
Loading…
Reference in New Issue
Block a user