mirror of
https://github.com/libretro/xmil-libretro.git
synced 2025-02-17 06:27:48 +00:00
resolves BOOL/BRESULT (mouse/sound)
refs #90 svn merge -r 193:214 https://amethyst.yui.ne.jp/svn-dev/x1/xmil/branches/yui/WORK_01
This commit is contained in:
parent
8031987c1a
commit
d7cebb23e9
@ -13,7 +13,7 @@ typedef struct {
|
||||
static MOUSEMNG mousemng;
|
||||
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
|
||||
|
||||
*x = mousemng.x;
|
||||
*y = mousemng.y;
|
||||
|
@ -9,7 +9,7 @@ enum {
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include "mousemng.h"
|
||||
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
|
||||
|
||||
*x = 0;
|
||||
*y = 0;
|
||||
|
@ -3,7 +3,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ typedef struct {
|
||||
static MOUSEMNG mousemng;
|
||||
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
|
||||
|
||||
*x = mousemng.x;
|
||||
*y = mousemng.y;
|
||||
@ -177,7 +177,7 @@ void mousemng_toggle(UINT proc) {
|
||||
|
||||
#else
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
|
||||
|
||||
*x = 0;
|
||||
*y = 0;
|
||||
|
@ -9,7 +9,7 @@ enum {
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include "mousemng.h"
|
||||
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *pwX, SINT16 *pwY, BRESULT bClear)
|
||||
REG8 mousemng_getstat(SINT16 *pwX, SINT16 *pwY, BOOL bClear)
|
||||
{
|
||||
*pwX = 0;
|
||||
*pwY = 0;
|
||||
|
@ -4,7 +4,7 @@ extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *pwX, SINT16 *pwY, BRESULT bClear);
|
||||
REG8 mousemng_getstat(SINT16 *pwX, SINT16 *pwY, BOOL bClear);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ typedef struct {
|
||||
static MOUSEMNG mousemng;
|
||||
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
|
||||
|
||||
*x = mousemng.x;
|
||||
*y = mousemng.y;
|
||||
|
@ -9,7 +9,7 @@ enum {
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ typedef struct {
|
||||
static MOUSEMNG mousemng;
|
||||
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
|
||||
|
||||
*x = mousemng.x;
|
||||
*y = mousemng.y;
|
||||
|
@ -9,7 +9,7 @@ enum {
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -364,7 +364,7 @@ void soundmng_pcmvolume(UINT num, int volume) {
|
||||
}
|
||||
}
|
||||
|
||||
BRESULT soundmng_pcmplay(UINT num, BRESULT loop) {
|
||||
BRESULT soundmng_pcmplay(UINT num, BOOL loop) {
|
||||
|
||||
LPDIRECTSOUNDBUFFER dsbuf;
|
||||
|
||||
|
@ -18,7 +18,7 @@ void soundmng_play(void);
|
||||
void soundmng_stop(void);
|
||||
void soundmng_sync(void);
|
||||
|
||||
BRESULT soundmng_pcmplay(UINT num, BRESULT loop);
|
||||
BRESULT soundmng_pcmplay(UINT num, BOOL loop);
|
||||
void soundmng_pcmstop(UINT num);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -16,7 +16,7 @@ typedef struct {
|
||||
static MOUSEMNG mousemng;
|
||||
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
|
||||
|
||||
*x = mousemng.x;
|
||||
*y = mousemng.y;
|
||||
|
@ -9,7 +9,7 @@ enum {
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -364,7 +364,7 @@ void soundmng_pcmvolume(UINT num, int volume) {
|
||||
}
|
||||
}
|
||||
|
||||
BRESULT soundmng_pcmplay(UINT num, BRESULT loop) {
|
||||
BRESULT soundmng_pcmplay(UINT num, BOOL loop) {
|
||||
|
||||
LPDIRECTSOUNDBUFFER dsbuf;
|
||||
|
||||
|
@ -18,7 +18,7 @@ void soundmng_play(void);
|
||||
void soundmng_stop(void);
|
||||
void soundmng_sync(void);
|
||||
|
||||
BRESULT soundmng_pcmplay(UINT num, BRESULT loop);
|
||||
BRESULT soundmng_pcmplay(UINT num, BOOL loop);
|
||||
void soundmng_pcmstop(UINT num);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "mousemng.h"
|
||||
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
|
||||
|
||||
*x = 0;
|
||||
*y = 0;
|
||||
|
@ -3,7 +3,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
|
||||
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user