Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial work towards patch support #88

Draft
wants to merge 31 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
e3ab616
Add initial work towards patch support
networkfusion Jan 11, 2024
52561a9
Add initial work towards patch support
networkfusion Jan 11, 2024
d20dc88
Fixes after rebase.
networkfusion Mar 7, 2024
324c7a4
Merge branch 'add-rom-patcher' of https://github.com/networkfusion/N6…
networkfusion Mar 7, 2024
f931774
Merge branch 'Polprzewodnikowy:main' into add-rom-patcher
networkfusion Mar 7, 2024
d9ad29d
Fixups after merge.
networkfusion Mar 7, 2024
010221d
Move menu mode for patch
networkfusion Mar 7, 2024
0847b4d
Add flips submodule
networkfusion Mar 7, 2024
dfe4a20
Revert "Add flips submodule"
networkfusion Mar 7, 2024
682669c
Improvements
networkfusion Mar 7, 2024
ded3e3e
Add patch extensions to browser
networkfusion Mar 7, 2024
71c93c5
minor improvements
networkfusion Mar 7, 2024
2258df3
Improve comments
networkfusion Mar 9, 2024
9fb88b6
Improvements
networkfusion Mar 15, 2024
277a4cf
IPS hints
networkfusion Mar 15, 2024
8da4ffd
add aps header struct
networkfusion Mar 16, 2024
b118810
minor changes
networkfusion Mar 16, 2024
38a1d11
add strcomp
networkfusion Mar 16, 2024
3f6fc79
use defines for magic
networkfusion Mar 16, 2024
d9fd168
Rename files
networkfusion Mar 17, 2024
0533df8
Change patch entry type
networkfusion Mar 17, 2024
8077f06
update libgragon submodule
networkfusion Mar 17, 2024
30a27ca
Merge remote-tracking branch 'upstream/main' into add-rom-patcher
networkfusion May 19, 2024
657651a
Fix merge
networkfusion May 19, 2024
f505135
Merge branch 'develop' into add-rom-patcher
networkfusion Aug 6, 2024
c68e72b
Update src/menu/rom_patch_info.c
networkfusion Aug 6, 2024
1cfb774
Use libdragon file api
networkfusion Aug 8, 2024
01e2ec3
Attempt towards IPS
networkfusion Aug 8, 2024
106b841
Merge branch 'develop' into add-rom-patcher
networkfusion Nov 7, 2024
5116725
Merge branch 'develop' into add-rom-patcher
networkfusion Nov 8, 2024
bdbc0d6
Merge branch 'develop' into add-rom-patcher
networkfusion Nov 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ SRCS = \
menu/path.c \
menu/png_decoder.c \
menu/rom_info.c \
menu/rom_patch_info.c \
menu/settings.c \
menu/sound.c \
menu/usb_comm.c \
Expand All @@ -67,6 +68,7 @@ SRCS = \
menu/views/load_disk.c \
menu/views/load_emulator.c \
menu/views/load_rom.c \
menu/views/load_patch.c \
menu/views/music_player.c \
menu/views/startup.c \
menu/views/system_info.c \
Expand Down
1 change: 1 addition & 0 deletions src/menu/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ static view_t menu_views[] = {
{ MENU_MODE_FLASHCART, view_flashcart_info_init, view_flashcart_info_display },
{ MENU_MODE_LOAD_ROM, view_load_rom_init, view_load_rom_display },
{ MENU_MODE_LOAD_DISK, view_load_disk_init, view_load_disk_display },
{ MENU_MODE_LOAD_ROM_PATCH, view_load_rom_patch_init, view_load_rom_patch_display },
{ MENU_MODE_LOAD_EMULATOR, view_load_emulator_init, view_load_emulator_display },
{ MENU_MODE_ERROR, view_error_init, view_error_display },
{ MENU_MODE_FAULT, view_fault_init, view_fault_display },
Expand Down
5 changes: 5 additions & 0 deletions src/menu/menu_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#include "boot/boot.h"
#include "disk_info.h"
#include "rom_patch_info.h"
#include "flashcart/flashcart.h"
#include "path.h"
#include "rom_info.h"
Expand All @@ -35,6 +36,7 @@ typedef enum {
MENU_MODE_LOAD_ROM,
MENU_MODE_LOAD_DISK,
MENU_MODE_LOAD_EMULATOR,
MENU_MODE_LOAD_ROM_PATCH,
MENU_MODE_ERROR,
MENU_MODE_FAULT,
MENU_MODE_BOOT,
Expand All @@ -45,6 +47,7 @@ typedef enum {
ENTRY_TYPE_DIR,
ENTRY_TYPE_ROM,
ENTRY_TYPE_DISK,
ENTRY_TYPE_ROM_PATCH,
ENTRY_TYPE_EMULATOR,
ENTRY_TYPE_SAVE,
ENTRY_TYPE_IMAGE,
Expand Down Expand Up @@ -103,6 +106,8 @@ typedef struct {
rom_info_t rom_info;
path_t *disk_path;
disk_info_t disk_info;
path_t *rom_patch_path;
rom_patch_info_t rom_patch_info;
} load;

struct {
Expand Down
Loading