X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fgp2x.h;h=15b4a90fd8cbe01978d11ff4a4f967979677f2df;hb=4742480dcabcbd9d23fd8cb9a655fc8c9c314513;hp=f0b2914ab2cf830b9aea103c2a7f606f220ef8f0;hpb=2823a4c8196a02da86ee180cf55586d4e8c91a2f;p=gpsp.git diff --git a/gp2x/gp2x.h b/gp2x/gp2x.h index f0b2914..15b4a90 100644 --- a/gp2x/gp2x.h +++ b/gp2x/gp2x.h @@ -15,16 +15,20 @@ enum GP2X_B = 1 << 13, GP2X_X = 1 << 14, GP2X_Y = 1 << 15, +#ifdef WIZ_BUILD + GP2X_VOL_UP = 1 << 16, + GP2X_VOL_DOWN = 1 << 17, + GP2X_PUSH = 1 << 18, +#else GP2X_VOL_DOWN = 1 << 22, GP2X_VOL_UP = 1 << 23, - GP2X_PUSH = 1 << 27 + GP2X_PUSH = 1 << 27, +#endif }; extern u32 gpsp_gp2x_dev_audio; extern u32 gpsp_gp2x_dev; -extern volatile u16 *gpsp_gp2x_memregs; -extern volatile u32 *gpsp_gp2x_memregl; void gp2x_sound_volume(u32 volume_up); void gp2x_quit();