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 RC_CONSOLE_STANDALONE #306

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion include/rc_consoles.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ enum {
RC_CONSOLE_UZEBOX = 80,

RC_CONSOLE_HUBS = 100,
RC_CONSOLE_EVENTS = 101
RC_CONSOLE_EVENTS = 101,
RC_CONSOLE_STANDALONE = 102
};

RC_EXPORT const char* RC_CCONV rc_console_name(uint32_t console_id);
Expand Down
3 changes: 3 additions & 0 deletions src/rcheevos/consoleinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ const char* rc_console_name(uint32_t console_id)
case RC_CONSOLE_SHARPX1:
return "Sharp X1";

case RC_CONSOLE_STANDALONE:
return "Standalone";

case RC_CONSOLE_SUPER_NINTENDO:
return "Super Nintendo Entertainment System";

Expand Down
1 change: 1 addition & 0 deletions test/rcheevos/test_consoleinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ void test_consoleinfo(void) {

TEST_PARAMS2(test_name, 100, "Hubs");
TEST_PARAMS2(test_name, 101, "Events");
TEST_PARAMS2(test_name, 102, "Standalone");

/* memory maps */
TEST_PARAMS2(test_memory, RC_CONSOLE_UNKNOWN, 0x000000);
Expand Down
Loading