mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-04 22:47:44 -04:00
some tweaks for win32 version
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@806 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
8ced8d2b38
commit
7ee5c389e6
5 changed files with 20 additions and 14 deletions
|
@ -15,7 +15,7 @@ STRIP = $(CROSS)strip
|
|||
DEFINES = _UNZIP_SUPPORT IN_VK
|
||||
CFLAGS += -O2 -Wall -falign-functions=2 -ffast-math
|
||||
CFLAGS += -I../.. -I. -I../../zlib/ -Idirectx/include/
|
||||
LDFLAGS += -L. -Ldirectx/lib/ -lgdi32 -lcomdlg32 -lddraw -ldsound -ldxguid
|
||||
LDFLAGS += -mwindows -L. -Ldirectx/lib/ -lgdi32 -lcomdlg32 -lddraw -ldsound -ldxguid
|
||||
|
||||
# frontend
|
||||
OBJS += main.o plat.o direct.o dsnd.o in_vk.o
|
||||
|
|
|
@ -216,6 +216,10 @@ static const struct {
|
|||
{ 'D', IN_BINDTYPE_PLAYER12, 5 }, /* C */
|
||||
{ 'A', IN_BINDTYPE_PLAYER12, 6 }, /* A */
|
||||
{ VK_RETURN, IN_BINDTYPE_PLAYER12, 7 },
|
||||
{ 'E', IN_BINDTYPE_PLAYER12, 8 }, /* Z */
|
||||
{ 'W', IN_BINDTYPE_PLAYER12, 9 }, /* Y */
|
||||
{ 'Q', IN_BINDTYPE_PLAYER12,10 }, /* X */
|
||||
{ 'R', IN_BINDTYPE_PLAYER12,11 }, /* M */
|
||||
/*
|
||||
{ BTN_SELECT, IN_BINDTYPE_EMU, PEVB_MENU },
|
||||
// { BTN_Y, IN_BINDTYPE_EMU, PEVB_SWITCH_RND },
|
||||
|
|
|
@ -41,7 +41,7 @@ void plat_wait_till_us(unsigned int us)
|
|||
{
|
||||
int msdiff = (int)(us - plat_get_ticks_us()) / 1000;
|
||||
if (msdiff > 6)
|
||||
;// Sleep(msdiff - 6);
|
||||
Sleep(msdiff - 6);
|
||||
while (plat_get_ticks_us() < us)
|
||||
;
|
||||
}
|
||||
|
@ -216,7 +216,7 @@ const char *plat_get_credits(void)
|
|||
"Chui: Fame/C\n"
|
||||
"NJ: CZ80\n"
|
||||
"MAME devs: YM2612, SN76496 and SH2 cores\n"
|
||||
"Stéphane Dallongeville: base of Fame/C (C68K), CZ80\n\n"
|
||||
"Stéphane Dallongeville: base of Fame/C (C68K), CZ80\n\n"
|
||||
"Special thanks (ideas, valuable information and stuff):\n"
|
||||
"Charles MacDonald, Eke, Exophase, Haze, Lordus, Nemesis,\n"
|
||||
"Pierpaolo Prazzoli, Rokas, Steve Snake, Tasco Deluxe.\n";
|
||||
|
|
|
@ -36,6 +36,7 @@ Enter: Start
|
|||
A: A
|
||||
S: B red button
|
||||
D: C pen push
|
||||
Q,W,E: X,Y,Z
|
||||
TAB: (reset)
|
||||
Esc: (load ROM)
|
||||
Arrows: D-pad
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue