notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spu: rearrange struct to reduce padding
[pcsx_rearmed.git]
/
frontend
/
libretro.c
diff --git
a/frontend/libretro.c
b/frontend/libretro.c
index
965f930
..
d21b1a2
100644
(file)
--- a/
frontend/libretro.c
+++ b/
frontend/libretro.c
@@
-27,6
+27,7
@@
#include "../libpcsxcore/cdriso.h"
#include "../libpcsxcore/cheat.h"
#include "../libpcsxcore/r3000a.h"
#include "../libpcsxcore/cdriso.h"
#include "../libpcsxcore/cheat.h"
#include "../libpcsxcore/r3000a.h"
+#include "../libpcsxcore/gpu.h"
#include "../plugins/dfsound/out.h"
#include "../plugins/dfsound/spu_config.h"
#include "cspace.h"
#include "../plugins/dfsound/out.h"
#include "../plugins/dfsound/spu_config.h"
#include "cspace.h"
@@
-488,6
+489,7
@@
struct rearmed_cbs pl_rearmed_cbs = {
.pl_vout_close = vout_close,
.mmap = pl_mmap,
.munmap = pl_munmap,
.pl_vout_close = vout_close,
.mmap = pl_mmap,
.munmap = pl_munmap,
+ .gpu_state_change = gpu_state_change,
/* from psxcounters */
.gpu_hcnt = &hSyncCount,
.gpu_frame_count = &frame_counter,
/* from psxcounters */
.gpu_hcnt = &hSyncCount,
.gpu_frame_count = &frame_counter,
@@
-504,12
+506,6
@@
void pl_timing_prepare(int is_pal)
is_pal_mode = is_pal;
}
is_pal_mode = is_pal;
}
-void plat_get_psx_resolution(int *xres, int *yres)
-{
- *xres = psx_w;
- *yres = psx_h;
-}
-
void plat_trigger_vibrate(int pad, int low, int high)
{
if (!rumble_cb)
void plat_trigger_vibrate(int pad, int low, int high)
{
if (!rumble_cb)
@@
-3126,7
+3122,6
@@
void retro_init(void)
#endif
pl_rearmed_cbs.gpu_peops.iUseDither = 1;
pl_rearmed_cbs.gpu_peops.dwActFixes = GPU_PEOPS_OLD_FRAME_SKIP;
#endif
pl_rearmed_cbs.gpu_peops.iUseDither = 1;
pl_rearmed_cbs.gpu_peops.dwActFixes = GPU_PEOPS_OLD_FRAME_SKIP;
- spu_config.iUseFixedUpdates = 1;
SaveFuncs.open = save_open;
SaveFuncs.read = save_read;
SaveFuncs.open = save_open;
SaveFuncs.read = save_read;