mirror of
https://github.com/gligli/nulldc-360.git
synced 2025-04-02 11:11:56 -04:00
29 lines
No EOL
578 B
C++
29 lines
No EOL
578 B
C++
//Global header for v1 dynarec
|
|
#pragma once
|
|
#include <list>
|
|
#include "types.h"
|
|
//#include "dc\sh4\shil\shil.h"
|
|
|
|
//count fallbacks and average block size, average execution time , ect :)
|
|
//#define PROFILE_DYNAREC
|
|
//#define RET_CACHE_PROF
|
|
extern u32 ret_cache_hits;
|
|
extern u32 ret_cache_total;
|
|
|
|
void printprofile();
|
|
|
|
typedef void BasicBlockEP();
|
|
|
|
extern void* Dynarec_Mainloop_no_update;
|
|
extern void* Dynarec_Mainloop_do_update;
|
|
extern u32 rec_cycles;
|
|
|
|
#define GET_CURRENT_FPU_MODE() (sh4r.fpscr.PR_SZ)
|
|
|
|
#define BLOCKLIST_MAX_CYCLES (448)
|
|
|
|
|
|
/*
|
|
//shit i gota put somewhere
|
|
|
|
*/ |