mirror of
https://github.com/libretro/RetroArch
synced 2024-12-26 21:29:08 +00:00
(WIN32) Fix native ui savestate slots (#16290)
This commit is contained in:
parent
3c4dd50974
commit
7566a0fea7
2
Makefile
2
Makefile
@ -226,7 +226,7 @@ $(OBJDIR)/%.o: %.S config.h config.mk $(HEADERS)
|
|||||||
$(OBJDIR)/%.o: %.rc $(HEADERS)
|
$(OBJDIR)/%.o: %.rc $(HEADERS)
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
@$(if $(Q), $(shell echo echo WINDRES $<),)
|
@$(if $(Q), $(shell echo echo WINDRES $<),)
|
||||||
$(Q)$(WINDRES) -o $@ $<
|
$(Q)$(WINDRES) $(DEFINES) -o $@ $<
|
||||||
|
|
||||||
install: $(TARGET)
|
install: $(TARGET)
|
||||||
mkdir -p $(DESTDIR)$(BIN_DIR) 2>/dev/null || /bin/true
|
mkdir -p $(DESTDIR)$(BIN_DIR) 2>/dev/null || /bin/true
|
||||||
|
@ -169,7 +169,7 @@ $(OBJDIR)/%.o: %.cpp | $(dir $@)
|
|||||||
$(OBJDIR)/%.o: %.rc $(HEADERS)
|
$(OBJDIR)/%.o: %.rc $(HEADERS)
|
||||||
@-mkdir -p $(dir $@) || mkdir $(subst /,\,$(dir $@)) || echo .
|
@-mkdir -p $(dir $@) || mkdir $(subst /,\,$(dir $@)) || echo .
|
||||||
@$(if $(Q), $(shell echo echo WINDRES $<),)
|
@$(if $(Q), $(shell echo echo WINDRES $<),)
|
||||||
$(Q)$(WINDRES) -o $@ $<
|
$(Q)$(WINDRES) $(DEFINES) -o $@ $<
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(OBJDIR)
|
rm -rf $(OBJDIR)
|
||||||
|
@ -32,26 +32,26 @@ IDR_MENU MENU
|
|||||||
{
|
{
|
||||||
POPUP "State Index"
|
POPUP "State Index"
|
||||||
{
|
{
|
||||||
MENUITEM "-1 (Auto)", ID_M_STATE_INDEX_AUTO
|
MENUITEM "Auto", ID_M_STATE_INDEX_AUTO
|
||||||
MENUITEM "0", ID_M_STATE_INDEX_AUTO
|
MENUITEM "0", ID_M_STATE_INDEX_0
|
||||||
MENUITEM "1", ID_M_STATE_INDEX_AUTO
|
MENUITEM "1", ID_M_STATE_INDEX_1
|
||||||
MENUITEM "2", ID_M_STATE_INDEX_AUTO
|
MENUITEM "2", ID_M_STATE_INDEX_2
|
||||||
MENUITEM "3", ID_M_STATE_INDEX_AUTO
|
MENUITEM "3", ID_M_STATE_INDEX_3
|
||||||
MENUITEM "4", ID_M_STATE_INDEX_AUTO
|
MENUITEM "4", ID_M_STATE_INDEX_4
|
||||||
MENUITEM "5", ID_M_STATE_INDEX_AUTO
|
MENUITEM "5", ID_M_STATE_INDEX_5
|
||||||
MENUITEM "6", ID_M_STATE_INDEX_AUTO
|
MENUITEM "6", ID_M_STATE_INDEX_6
|
||||||
MENUITEM "7", ID_M_STATE_INDEX_AUTO
|
MENUITEM "7", ID_M_STATE_INDEX_7
|
||||||
MENUITEM "8", ID_M_STATE_INDEX_AUTO
|
MENUITEM "8", ID_M_STATE_INDEX_8
|
||||||
MENUITEM "9", ID_M_STATE_INDEX_AUTO
|
MENUITEM "9", ID_M_STATE_INDEX_9
|
||||||
}
|
}
|
||||||
MENUITEM "Load State", ID_M_LOAD_STATE
|
MENUITEM "Load State", ID_M_LOAD_STATE
|
||||||
MENUITEM "Save State", ID_M_SAVE_STATE
|
MENUITEM "Save State", ID_M_SAVE_STATE
|
||||||
}
|
}
|
||||||
MENUITEM "Reset", ID_M_RESET
|
MENUITEM "Reset", ID_M_RESET
|
||||||
MENUITEM "Menu Toggle", ID_M_MENU_TOGGLE
|
|
||||||
MENUITEM "Pause Toggle", ID_M_PAUSE_TOGGLE
|
MENUITEM "Pause Toggle", ID_M_PAUSE_TOGGLE
|
||||||
MENUITEM "Mouse Grab Toggle", ID_M_MOUSE_GRAB
|
MENUITEM "Menu Toggle", ID_M_MENU_TOGGLE
|
||||||
MENUITEM "Take Screenshot", ID_M_TAKE_SCREENSHOT
|
MENUITEM "Take Screenshot", ID_M_TAKE_SCREENSHOT
|
||||||
|
MENUITEM "Mouse Grab Toggle", ID_M_MOUSE_GRAB
|
||||||
}
|
}
|
||||||
POPUP "Window"
|
POPUP "Window"
|
||||||
{
|
{
|
||||||
@ -68,7 +68,9 @@ IDR_MENU MENU
|
|||||||
MENUITEM "9x", ID_M_WINDOW_SCALE_9X
|
MENUITEM "9x", ID_M_WINDOW_SCALE_9X
|
||||||
MENUITEM "10x", ID_M_WINDOW_SCALE_10X
|
MENUITEM "10x", ID_M_WINDOW_SCALE_10X
|
||||||
}
|
}
|
||||||
|
#ifdef HAVE_QT
|
||||||
MENUITEM "Toggle Desktop Menu", ID_M_TOGGLE_DESKTOP
|
MENUITEM "Toggle Desktop Menu", ID_M_TOGGLE_DESKTOP
|
||||||
|
#endif
|
||||||
MENUITEM "Toggle Exclusive Full Screen", ID_M_FULL_SCREEN
|
MENUITEM "Toggle Exclusive Full Screen", ID_M_FULL_SCREEN
|
||||||
// Shader dialog is disabled for now, until video_threaded issues are fixed.
|
// Shader dialog is disabled for now, until video_threaded issues are fixed.
|
||||||
//MENUITEM "Shader Parameters", ID_M_SHADER_PARAMETERS
|
//MENUITEM "Shader Parameters", ID_M_SHADER_PARAMETERS
|
||||||
|
@ -29,26 +29,26 @@ IDR_MENU MENU
|
|||||||
{
|
{
|
||||||
POPUP "状態のインデックス"
|
POPUP "状態のインデックス"
|
||||||
{
|
{
|
||||||
MENUITEM "-1 (自動)", ID_M_STATE_INDEX_AUTO
|
MENUITEM "自動", ID_M_STATE_INDEX_AUTO
|
||||||
MENUITEM "0", ID_M_STATE_INDEX_AUTO
|
MENUITEM "0", ID_M_STATE_INDEX_0
|
||||||
MENUITEM "1", ID_M_STATE_INDEX_AUTO
|
MENUITEM "1", ID_M_STATE_INDEX_1
|
||||||
MENUITEM "2", ID_M_STATE_INDEX_AUTO
|
MENUITEM "2", ID_M_STATE_INDEX_2
|
||||||
MENUITEM "3", ID_M_STATE_INDEX_AUTO
|
MENUITEM "3", ID_M_STATE_INDEX_3
|
||||||
MENUITEM "4", ID_M_STATE_INDEX_AUTO
|
MENUITEM "4", ID_M_STATE_INDEX_4
|
||||||
MENUITEM "5", ID_M_STATE_INDEX_AUTO
|
MENUITEM "5", ID_M_STATE_INDEX_5
|
||||||
MENUITEM "6", ID_M_STATE_INDEX_AUTO
|
MENUITEM "6", ID_M_STATE_INDEX_6
|
||||||
MENUITEM "7", ID_M_STATE_INDEX_AUTO
|
MENUITEM "7", ID_M_STATE_INDEX_7
|
||||||
MENUITEM "8", ID_M_STATE_INDEX_AUTO
|
MENUITEM "8", ID_M_STATE_INDEX_8
|
||||||
MENUITEM "9", ID_M_STATE_INDEX_AUTO
|
MENUITEM "9", ID_M_STATE_INDEX_9
|
||||||
}
|
}
|
||||||
MENUITEM "保存状態をロード", ID_M_LOAD_STATE
|
MENUITEM "保存状態をロード", ID_M_LOAD_STATE
|
||||||
MENUITEM "状態保存", ID_M_SAVE_STATE
|
MENUITEM "状態保存", ID_M_SAVE_STATE
|
||||||
}
|
}
|
||||||
MENUITEM "リセット", ID_M_RESET
|
MENUITEM "リセット", ID_M_RESET
|
||||||
MENUITEM "メニューに切り替え", ID_M_MENU_TOGGLE
|
|
||||||
MENUITEM "一時停止", ID_M_PAUSE_TOGGLE
|
MENUITEM "一時停止", ID_M_PAUSE_TOGGLE
|
||||||
MENUITEM "マウスグラブ切り替え", ID_M_MOUSE_GRAB
|
MENUITEM "メニューに切り替え", ID_M_MENU_TOGGLE
|
||||||
MENUITEM "スクリーンショットを撮る", ID_M_TAKE_SCREENSHOT
|
MENUITEM "スクリーンショットを撮る", ID_M_TAKE_SCREENSHOT
|
||||||
|
MENUITEM "マウスグラブ切り替え", ID_M_MOUSE_GRAB
|
||||||
}
|
}
|
||||||
POPUP "ウィンドウ"
|
POPUP "ウィンドウ"
|
||||||
{
|
{
|
||||||
@ -65,7 +65,9 @@ IDR_MENU MENU
|
|||||||
MENUITEM "9x", ID_M_WINDOW_SCALE_9X
|
MENUITEM "9x", ID_M_WINDOW_SCALE_9X
|
||||||
MENUITEM "10x", ID_M_WINDOW_SCALE_10X
|
MENUITEM "10x", ID_M_WINDOW_SCALE_10X
|
||||||
}
|
}
|
||||||
|
#ifdef HAVE_QT
|
||||||
MENUITEM "デスクトップメニューを表示", ID_M_TOGGLE_DESKTOP
|
MENUITEM "デスクトップメニューを表示", ID_M_TOGGLE_DESKTOP
|
||||||
|
#endif
|
||||||
MENUITEM "排他的なフルスクリーン切り替え", ID_M_FULL_SCREEN
|
MENUITEM "排他的なフルスクリーン切り替え", ID_M_FULL_SCREEN
|
||||||
// Shader dialog is disabled for now, until video_threaded issues are fixed.
|
// Shader dialog is disabled for now, until video_threaded issues are fixed.
|
||||||
//MENUITEM "シェーダーのパラメータ", ID_M_SHADER_PARAMETERS
|
//MENUITEM "シェーダーのパラメータ", ID_M_SHADER_PARAMETERS
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
#define IDR_MENU 101
|
#define IDR_MENU 101
|
||||||
#define IDD_PICKCORE 103
|
#define IDD_PICKCORE 103
|
||||||
|
#define IDR_ACCELERATOR1 104
|
||||||
#define ID_M_LOAD_CONTENT 40001
|
#define ID_M_LOAD_CONTENT 40001
|
||||||
#define ID_CORELISTBOX 40002
|
#define ID_CORELISTBOX 40002
|
||||||
#define ID_M_RESET 40002
|
#define ID_M_RESET 40002
|
||||||
@ -26,7 +27,16 @@
|
|||||||
#define ID_M_FULL_SCREEN 40022
|
#define ID_M_FULL_SCREEN 40022
|
||||||
#define ID_M_MOUSE_GRAB 40023
|
#define ID_M_MOUSE_GRAB 40023
|
||||||
#define ID_M_STATE_INDEX_AUTO 40024
|
#define ID_M_STATE_INDEX_AUTO 40024
|
||||||
#define ID_M_TAKE_SCREENSHOT 40025
|
#define ID_M_STATE_INDEX_0 40025
|
||||||
#define ID_M_MUTE_TOGGLE 40026
|
#define ID_M_STATE_INDEX_1 40026
|
||||||
#define ID_M_TOGGLE_DESKTOP 40027
|
#define ID_M_STATE_INDEX_2 40027
|
||||||
#define IDR_ACCELERATOR1 104
|
#define ID_M_STATE_INDEX_3 40028
|
||||||
|
#define ID_M_STATE_INDEX_4 40029
|
||||||
|
#define ID_M_STATE_INDEX_5 40030
|
||||||
|
#define ID_M_STATE_INDEX_6 40031
|
||||||
|
#define ID_M_STATE_INDEX_7 40032
|
||||||
|
#define ID_M_STATE_INDEX_8 40033
|
||||||
|
#define ID_M_STATE_INDEX_9 40034
|
||||||
|
#define ID_M_TAKE_SCREENSHOT 40035
|
||||||
|
#define ID_M_MUTE_TOGGLE 40036
|
||||||
|
#define ID_M_TOGGLE_DESKTOP 40037
|
||||||
|
Loading…
Reference in New Issue
Block a user