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
Re-enable unai on 3DS
[pcsx_rearmed.git]
/
frontend
/
main.c
diff --git
a/frontend/main.c
b/frontend/main.c
index
f048584
..
81a68e3
100644
(file)
--- a/
frontend/main.c
+++ b/
frontend/main.c
@@
-138,6
+138,7
@@
void emu_set_default_config(void)
pl_rearmed_cbs.gpu_peopsgl.iTexGarbageCollection = 1;
spu_config.iUseReverb = 1;
pl_rearmed_cbs.gpu_peopsgl.iTexGarbageCollection = 1;
spu_config.iUseReverb = 1;
+ spu_config.idiablofix = 0;
spu_config.iUseInterpolation = 1;
spu_config.iXAPitch = 0;
spu_config.iVolume = 768;
spu_config.iUseInterpolation = 1;
spu_config.iXAPitch = 0;
spu_config.iVolume = 768;
@@
-151,8
+152,8
@@
void emu_set_default_config(void)
new_dynarec_hacks = 0;
cycle_multiplier = 200;
new_dynarec_hacks = 0;
cycle_multiplier = 200;
- in_type
1
= PSE_PAD_TYPE_STANDARD;
- in_type
2
= PSE_PAD_TYPE_STANDARD;
+ in_type
[0]
= PSE_PAD_TYPE_STANDARD;
+ in_type
[1]
= PSE_PAD_TYPE_STANDARD;
}
void do_emu_action(void)
}
void do_emu_action(void)
@@
-721,10
+722,10
@@
void SysReset() {
// reset can run code, timing must be set
pl_timing_prepare(Config.PsxType);
// reset can run code, timing must be set
pl_timing_prepare(Config.PsxType);
- EmuReset();
-
- // hmh core forgets this
+ // hmh core forgets this
CDR_stop();
CDR_stop();
+
+ EmuReset();
GPU_updateLace = real_lace;
g_emu_resetting = 0;
GPU_updateLace = real_lace;
g_emu_resetting = 0;
@@
-772,7
+773,7
@@
int emu_save_state(int slot)
return ret;
ret = SaveState(fname);
return ret;
ret = SaveState(fname);
-#if
def HAVE_PRE_ARMV7
/* XXX GPH hack */
+#if
defined(HAVE_PRE_ARMV7) && !defined(_3DS)
/* XXX GPH hack */
sync();
#endif
SysPrintf("* %s \"%s\" [%d]\n",
sync();
#endif
SysPrintf("* %s \"%s\" [%d]\n",
@@
-794,6
+795,7
@@
int emu_load_state(int slot)
return LoadState(fname);
}
return LoadState(fname);
}
+#ifndef HAVE_LIBRETRO
#ifndef ANDROID
void SysPrintf(const char *fmt, ...) {
#ifndef ANDROID
void SysPrintf(const char *fmt, ...) {
@@
-818,6
+820,7
@@
void SysPrintf(const char *fmt, ...) {
}
#endif
}
#endif
+#endif /* HAVE_LIBRETRO */
void SysMessage(const char *fmt, ...) {
va_list list;
void SysMessage(const char *fmt, ...) {
va_list list;
@@
-867,7
+870,7
@@
static int _OpenPlugins(void) {
if (Config.UseNet && !NetOpened) {
netInfo info;
if (Config.UseNet && !NetOpened) {
netInfo info;
- char path[MAXPATHLEN];
+ char path[MAXPATHLEN
* 2
];
char dotdir[MAXPATHLEN];
MAKE_PATH(dotdir, "/.pcsx/plugins/", NULL);
char dotdir[MAXPATHLEN];
MAKE_PATH(dotdir, "/.pcsx/plugins/", NULL);
@@
-1030,4
+1033,3
@@
void SysCloseLibrary(void *lib) {
dlclose(lib);
#endif
}
dlclose(lib);
#endif
}
-