mirror of https://github.com/PCSX2/pcsx2.git
Linux: Bring the gamefixes dialog up to date.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@787 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
bb47813a3c
commit
fadeb5d86f
|
@ -84,6 +84,7 @@
|
|||
* Macros for sceCdGetDiskType() //comments translated from japanese;)
|
||||
*/
|
||||
|
||||
// These are already declared with different names in PS2Edefs.h. And aren't used.
|
||||
#define SCECdIllgalMedia 0xff // ILIMEDIA (Illegal Media) A non-PS / non-PS2 Disc.
|
||||
#define SCECdDVDV 0xfe // DVDV (DVD Video) A non-PS / non-PS2 Disc, but a DVD Video Disc
|
||||
#define SCECdCDDA 0xfd // CDDA (CD DA) A non-PS / non-PS2 Disc that include a DA track
|
||||
|
@ -95,7 +96,6 @@
|
|||
#define SCECdDETCT 0x01 // DETCT (Detecting) Disc distinction action
|
||||
#define SCECdNODISC 0x00 // NODISC (No disc) No disc entered
|
||||
|
||||
|
||||
/*
|
||||
* Media mode
|
||||
*/
|
||||
|
|
|
@ -27,6 +27,7 @@ namespace R5900{
|
|||
namespace Interpreter
|
||||
{
|
||||
|
||||
// fixme - this code no longer compiles if PCSX2_CACHE_EMU_MEM is defined - do we need it any more?
|
||||
#ifdef PCSX2_CACHE_EMU_MEM
|
||||
int getFreeCache(u32 mem, int mode, int * way) {
|
||||
u8 * out;
|
||||
|
|
|
@ -24,9 +24,9 @@ GtkWidget *GameFixDlg, *SpeedHacksDlg;
|
|||
{
|
||||
GameFixDlg = create_GameFixDlg();
|
||||
|
||||
set_checked(GameFixDlg, "check_FPU_Compare", (Config.GameFixes & FLAG_FPU_Compare));
|
||||
set_checked(GameFixDlg, "check_VU_Add_Sub", (Config.GameFixes & FLAG_VU_ADD_SUB));
|
||||
set_checked(GameFixDlg, "check_VU_Clip", (Config.GameFixes & FLAG_VU_CLIP));
|
||||
set_checked(GameFixDlg, "check_FPU_Clamp", (Config.GameFixes & FLAG_FPU_CLAMP));
|
||||
set_checked(GameFixDlg, "check_FPU_Mul", (Config.GameFixes & FLAG_FPU_MUL));
|
||||
|
||||
gtk_widget_show_all(GameFixDlg);
|
||||
gtk_widget_set_sensitive(MainWindow, FALSE);
|
||||
|
@ -37,9 +37,9 @@ void on_Game_Fix_OK(GtkButton *button, gpointer user_data)
|
|||
{
|
||||
|
||||
Config.GameFixes = 0;
|
||||
Config.GameFixes |= is_checked(GameFixDlg, "check_FPU_Compare") ? FLAG_FPU_Compare : 0;
|
||||
Config.GameFixes |= is_checked(GameFixDlg, "check_VU_Add_Sub") ? FLAG_VU_ADD_SUB : 0;
|
||||
Config.GameFixes |= is_checked(GameFixDlg, "check_VU_Clip") ? FLAG_VU_CLIP : 0;
|
||||
Config.GameFixes |= is_checked(GameFixDlg, "check_FPU_Clamp") ? FLAG_FPU_CLAMP : 0;
|
||||
Config.GameFixes |= is_checked(GameFixDlg, "check_FPU_Mul") ? FLAG_FPU_MUL : 0;
|
||||
|
||||
SaveConfig();
|
||||
gtk_widget_destroy(GameFixDlg);
|
||||
|
|
|
@ -100,12 +100,12 @@ char iop_log_names[9][32] =
|
|||
"Cdr Log",
|
||||
"GPU Log"
|
||||
};
|
||||
|
||||
//Tri-Ace - IDC_GAMEFIX2
|
||||
#define FLAG_VU_ADD_SUB 0x1
|
||||
#define FLAG_VU_CLIP 0x2
|
||||
#define FLAG_FPU_CLAMP 0x4
|
||||
#define FLAG_VU_FCOR_HACK 0x8
|
||||
#define FLAG_AVOID_DELAY_HANDLING 0x10
|
||||
// Digimon Rumble Arena - IDC_GAMEFIX3
|
||||
#define FLAG_FPU_Compare 0x4
|
||||
//Tales of Destiny - IDC_GAMEFIX5
|
||||
#define FLAG_FPU_MUL 0x8
|
||||
|
||||
#define FLAG_VU_NO_OVERFLOW 0x2
|
||||
#define FLAG_VU_EXTRA_OVERFLOW 0x40
|
||||
|
|
|
@ -109,30 +109,6 @@ void
|
|||
OnDebug_memWrite32 (GtkButton *button,
|
||||
gpointer user_data);
|
||||
|
||||
void
|
||||
OnConfConf_Pad2Conf (GtkButton *button,
|
||||
gpointer user_data);
|
||||
|
||||
void
|
||||
OnConfConf_Pad2Test (GtkButton *button,
|
||||
gpointer user_data);
|
||||
|
||||
void
|
||||
OnConfConf_Pad2About (GtkButton *button,
|
||||
gpointer user_data);
|
||||
|
||||
void
|
||||
OnConfConf_Pad1Conf (GtkButton *button,
|
||||
gpointer user_data);
|
||||
|
||||
void
|
||||
OnConfConf_Pad1Test (GtkButton *button,
|
||||
gpointer user_data);
|
||||
|
||||
void
|
||||
OnConfConf_Pad1About (GtkButton *button,
|
||||
gpointer user_data);
|
||||
|
||||
void
|
||||
OnConfButton (GtkButton *button,
|
||||
gpointer user_data);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
14046
pcsx2/Linux/pcsx2.glade
14046
pcsx2/Linux/pcsx2.glade
File diff suppressed because it is too large
Load Diff
|
@ -19,8 +19,8 @@
|
|||
#ifndef __MISC_H__
|
||||
#define __MISC_H__
|
||||
|
||||
// what the hell is this unused piece of crap passed to every plugin for? (air)
|
||||
// Agreed. It ought to get removed in the next version of the plugin api. (arcum42)
|
||||
// Per ChickenLiver, this is being used to pass the GS plugins window handle to the Pad plugins.
|
||||
// So a rename to pDisplay is in the works, but it will not, in fact, be removed.
|
||||
extern uptr pDsp; //Used in GS, MTGS, Plugins, Misc
|
||||
|
||||
u32 GetBiosVersion(); // Used in Misc, Memory
|
||||
|
|
Loading…
Reference in New Issue