Skip to content

Commit

Permalink
Fix C++11 uncompliant code (gamelink.cpp)
Browse files Browse the repository at this point in the history
  • Loading branch information
maron2000 committed Dec 9, 2023
1 parent 3aaaf7c commit 5d911d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gamelink/gamelink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ void GameLink::Out( const uint16_t frame_width,
int base = g_p_shared_memory->peek.addr[ 0 ];
for (int i = 0; i < g_p_shared_memory->peek.addr_count; i++) {
uint8_t seek = g_p_shared_memory->peek.data[ i ];
if (g_p_shared_memory->peek.addr[ i ] > 0x1000'0000) continue;
if (g_p_shared_memory->peek.addr[ i ] > 0x10000000) continue;
int oaddr = g_p_shared_memory->peek.addr[ i ] - base + addr;
if (oaddr >= g_membase_size || p_sysmem[ oaddr ] != seek) {
match = false;
Expand Down

0 comments on commit 5d911d5

Please sign in to comment.